Update of /cvsroot/pure-data/scripts/auto-build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20356
Modified Files: pd-main-auto-builder.sh Log Message: fixed up messed up root_dir
Index: pd-main-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-main-auto-builder.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pd-main-auto-builder.sh 3 Aug 2006 06:02:39 -0000 1.3 --- pd-main-auto-builder.sh 8 Aug 2006 03:48:54 -0000 1.4 *************** *** 26,31 **** esac
- package_name="${ROOT_DIR}/pd-${DATE}-${SYSTEM}-${HOSTNAME}-${platform_name}.tar.bz2" - # convert into absolute path cd `echo $0 | sed 's|(.*)/.*$|\1|'`/../.. --- 26,29 ---- *************** *** 33,36 **** --- 31,36 ---- echo "root: $auto_build_root_dir"
+ package_name="/tmp/pd-${DATE}-${SYSTEM}-${HOSTNAME}-${platform_name}.tar.bz2" + # let rsync handle the cleanup with --delete rsync -av --delete rsync://128.238.56.50/distros/pd-main/ \ *************** *** 45,48 **** tar cjf $package_name pd && \ rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/ !
--- 45,48 ---- tar cjf $package_name pd && \ rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/ ! rm -f -- $package_name