aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pure-data-rsync-checkout
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-02-14 23:15:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-02-14 23:15:34 +0000
commitf96bf35bdeabc74a57d3b4d09e70f86eb7492c5e (patch)
treee23839734bfee3c23ee3d438085dde351d2c13f0 /scripts/auto-build/pure-data-rsync-checkout
parenta1b97ef5a8023a30be6d2c8732ee9457ec1fa2b6 (diff)
renamed files since they also work with SVN in addition to CVS
svn path=/trunk/; revision=9442
Diffstat (limited to 'scripts/auto-build/pure-data-rsync-checkout')
-rwxr-xr-xscripts/auto-build/pure-data-rsync-checkout31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/auto-build/pure-data-rsync-checkout b/scripts/auto-build/pure-data-rsync-checkout
new file mode 100755
index 00000000..7d15adec
--- /dev/null
+++ b/scripts/auto-build/pure-data-rsync-checkout
@@ -0,0 +1,31 @@
+#!/bin/sh
+# update from the local CVS repository
+
+# the source dir where this script is
+SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
+. $SCRIPT_DIR/auto-build-common
+
+# the name of this script
+SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
+LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
+
+update_distro ()
+{
+ distro=$1
+ echo "------------------------------------------------------------" >> $LOGFILE 2>&1
+ echo "$distro" >> $LOGFILE 2>&1
+ echo "------------------------------------------------------------" >> $LOGFILE 2>&1
+ /home/pd/rsync/$distro/scripts/update-developer-layout.sh >> $LOGFILE 2>&1
+}
+
+touch $LOGFILE
+
+for dir in /home/pd/rsync/*; do
+ dirname=`echo $dir | sed 's|.*/\(.*\)|\1|'`
+ test -e $dir/scripts/update-developer-layout.sh && \
+ update_distro $dirname
+done
+
+# since the above test can cause this script to exit with an error, force it
+# to be happy to prevent getting automated error emails to root
+true