From 313d70e6c20dd923e395640334766ae3c5ec5b6a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 19 Jul 2006 14:41:10 +0000 Subject: changed up to use rsync on the build machines svn path=/trunk/; revision=5380 --- scripts/automated-builder.sh | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.1