aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-27 23:52:22 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-27 23:52:22 +0000
commitfc784ed12a8a01681c63aac615721ec2482f5306 (patch)
tree8ab2c3d673743516fc66df6385a0612d1676b8cd /scripts
parentecb4671053ef47f54996d80ee582e4621c0fb005 (diff)
first stab at a desiredata nightly build
svn path=/trunk/; revision=11190
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auto-build/pd-desiredata-auto-builder.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/auto-build/pd-desiredata-auto-builder.sh b/scripts/auto-build/pd-desiredata-auto-builder.sh
new file mode 100755
index 00000000..017c0872
--- /dev/null
+++ b/scripts/auto-build/pd-desiredata-auto-builder.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+# this script is the first attempt to have an automated updater and builder
+
+# the source dir where this script is
+## this could be done more easily with ${0%/*}
+SCRIPT_DIR=$(echo $0 | sed 's|\(.*\)/.*$|\1|')
+. $SCRIPT_DIR/auto-build-common
+
+# the name of this script
+## this could be done more easily with ${0##*/}
+SCRIPT=$(echo $0| sed 's|.*/\(.*\)|\1|g')
+
+# convert into absolute path
+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}/desiredata/src"
+./configure && make