diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-07-19 14:41:10 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-07-19 14:41:10 +0000 |
commit | 313d70e6c20dd923e395640334766ae3c5ec5b6a (patch) | |
tree | c573f88fffc49874fee297198149538c2247828a /scripts | |
parent | 717bb48413c25549aa96546627d1c1519e97e110 (diff) |
changed up to use rsync on the build machines
svn path=/trunk/; revision=5380
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/automated-builder.sh | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/scripts/automated-builder.sh b/scripts/automated-builder.sh index 4f1f2bdd..98165e08 100755 --- a/scripts/automated-builder.sh +++ b/scripts/automated-builder.sh @@ -2,13 +2,23 @@ # this script is the first attempt to have an automated updater and builder -cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. +auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. SYSTEM=`uname -s` +DATE=`date +%Y-%m-%d` +TIME=`date +%H.%M.%S` +LOGFILE=/tmp/build-log_${SYSTEM}_${DATE}_${TIME}.txt -cd "${cvs_root_dir}/packages" -make unpatch_pd -../scripts/update-developer-layout.sh -make patch_pd +# convert into absolute path +cd ${auto_build_root_dir} +auto_build_root_dir=`pwd` + +echo "root: $auto_build_root_dir" + +cd ${auto_build_root_dir}/packages +# let rsync handle the cleanup +#make unpatch_pd + +rsync -av --delete rsync://128.238.56.50/pure-data/ ${auto_build_root_dir}/ BUILD_DIR=. if [ "$SYSTEM" == "Linux" ]; then @@ -20,10 +30,12 @@ if [ "$SYSTEM" == "Darwin" ]; then fi cd "$BUILD_DIR" +pwd make distclean make package_clean rm -rf build +#make -C "${auto_build_root_dir}/packages" patch_pd make install && make package -#make test_locations #make test_package +make test_locations |