aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-08 03:48:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-08 03:48:54 +0000
commit656c77cfe5a113d3bf554d028b7b6f53b3370c8e (patch)
treefb8f270cae926e35ee0ed4ce1ec2b62cd1977cdd /scripts
parentcde0a1fc206ae65edd6d14f5703c9a19d7caefa6 (diff)
fixed up messed up root_dir
svn path=/trunk/; revision=5506
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auto-build/pd-main-auto-builder.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/auto-build/pd-main-auto-builder.sh b/scripts/auto-build/pd-main-auto-builder.sh
index 97df01ff..a5ec0645 100755
--- a/scripts/auto-build/pd-main-auto-builder.sh
+++ b/scripts/auto-build/pd-main-auto-builder.sh
@@ -25,13 +25,13 @@ case $SYSTEM in
;;
esac
-package_name="${ROOT_DIR}/pd-${DATE}-${SYSTEM}-${HOSTNAME}-${platform_name}.tar.bz2"
-
# convert into absolute path
cd `echo $0 | sed 's|\(.*\)/.*$|\1|'`/../..
auto_build_root_dir=`pwd`
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/ \
${auto_build_root_dir}/
@@ -44,5 +44,5 @@ cd ${auto_build_root_dir}/pd/src && \
cd ../../ && \
tar cjf $package_name pd && \
rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/
-
+rm -f -- $package_name