aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pd-extended-auto-builder.sh
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-03-23 20:51:08 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-03-23 20:51:08 +0000
commitc2bf0092b165f600d8a14f234c3270e29acafd71 (patch)
treecf7d26044a483fb945f5601b35dec8adfab5c894 /scripts/auto-build/pd-extended-auto-builder.sh
parentfc154a3ffca2cbffe03ce02910372c95273d009b (diff)
- added direct mailing support for Cygwin 'email' via Windows/MinGW builds
- added network debug info - made source rsync function and reverted Cygwin rsync to be the same as the UNIX ones. This means that it doesn't try to copy symlinks anymore. svn path=/trunk/; revision=10892
Diffstat (limited to 'scripts/auto-build/pd-extended-auto-builder.sh')
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh21
1 files changed, 6 insertions, 15 deletions
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index c3942819..280b4596 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -36,26 +36,17 @@ esac
# convert into absolute path
-## shouldn't this use the ${SCRIPT_DIR} variable rather than call an external program?
-cd $(echo $0 | sed 's|\(.*\)/.*$|\1|')/../..
-auto_build_root_dir=$(pwd)
-echo "root: $auto_build_root_dir"
-
-# let rsync handle the cleanup with --delete
-case $SYSTEM in
- mingw*)
- /c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links --delete rsync://128.238.56.50/distros/pd-extended/ ${auto_build_root_dir}/"
- ;;
- *)
- rsync -a --delete rsync://128.238.56.50/distros/pd-extended/ ${auto_build_root_dir}/
- ;;
-esac
+cd "${SCRIPT_DIR}/../.."
+auto_build_root_dir="$(pwd)"
+echo "build root: $auto_build_root_dir"
+rsync_distro "$auto_build_root_dir"
cd "${auto_build_root_dir}/packages/$BUILD_DIR"
make -C "${auto_build_root_dir}/packages" set_version
make test_locations
mount
+print_ip_address
+exit
make package_clean
make install && make package