aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-26 15:04:08 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-26 15:04:08 +0000
commit711958f47816ba94470a73dac82f08163e417342 (patch)
treebdb05614f1f1b2f48236baf67aa178442c358651 /scripts/auto-build
parent1d29697b117d149060724dfeaea40e1021a8055d (diff)
add command line arg for making a source tarball only and not building
svn path=/trunk/; revision=16305
Diffstat (limited to 'scripts/auto-build')
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index 0cee02ce..6c71638d 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -62,8 +62,15 @@ echo "--- mounts ----------------------------------------"
mount
print_ip_address
-echo "--- making source tarball ------------------------------"
-make_source_tarball "${auto_build_root_dir}" "${auto_build_root_dir}/packages/$BUILD_DIR"
+if [ "$1" = "source-tarball-only" ]; then
+ echo "--- making source tarball ------------------------------"
+ make_source_tarball "${auto_build_root_dir}" "${auto_build_root_dir}/packages/$BUILD_DIR"
+ echo "The source tarball is here:"
+ echo " ${auto_build_root_dir}/packages/$BUILD_DIR"
+ echo "Finished cleaning and making source tarball, exiting."
+ exit
+fi
+
echo "--- compiling binary package ---------------------------"
make install && make package