aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pure-data-cvs-rsync
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-07-31 04:42:45 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-07-31 04:42:45 +0000
commit8198c6066b52695ccbbde769293bc7b9d776f345 (patch)
treed34444ea2058d9810343749a9fc733ed9db5b9c3 /scripts/auto-build/pure-data-cvs-rsync
parent6879959a42e9691a2bf9cf319d1f4153409c06b0 (diff)
working scripts from compile farm master, pd-debian-stable
svn path=/trunk/; revision=5439
Diffstat (limited to 'scripts/auto-build/pure-data-cvs-rsync')
-rwxr-xr-xscripts/auto-build/pure-data-cvs-rsync30
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/auto-build/pure-data-cvs-rsync b/scripts/auto-build/pure-data-cvs-rsync
new file mode 100755
index 00000000..e6e7ec59
--- /dev/null
+++ b/scripts/auto-build/pure-data-cvs-rsync
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+SYSTEM=`uname -s`
+DATE=`date +%Y-%m-%d`
+TIME=`date +%H.%M.%S`
+SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
+LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
+
+VERBOSE_FLAGS=-v
+#VERBOSE_FLAGS="-v --progress"
+
+touch $LOGFILE
+
+echo "rsync pure-data" >> $LOGFILE 2>&1
+echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1
+(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pure-data.cvs.sourceforge.net/cvsroot/p/pu/pure-data/ /home/pd/cvsroot/pure-data/ || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pure-data CVS FAILED") >> $LOGFILE 2>&1
+
+echo "chown -R pd /home/pd/cvsroot/pure-data" >> $LOGFILE 2>&1
+echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1
+chown -R pd /home/pd/cvsroot/pure-data >> $LOGFILE 2>&1
+
+echo "rsync pd-gem" >> $LOGFILE 2>&1
+echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1
+(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pd-gem.cvs.sourceforge.net/cvsroot/p/pd/pd-gem/ /home/pd/cvsroot/pd-gem || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pd-gem CVS FAILED") >> $LOGFILE 2>&1
+
+echo "chown -R pd /home/pd/cvsroot/pd-gem" >> $LOGFILE 2>&1
+echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1
+chown -R pd /home/pd/cvsroot/pd-gem >> $LOGFILE 2>&1
+
+