aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-08 00:07:20 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-08 00:07:20 +0000
commitdfa96c0455ee5b41e4837da211e810c9e68f59c7 (patch)
treebd9a7e782669dc6996ed573b95efc3b7d0dc91b9
parent17ab8191d3ca4dd303d21d25253a74309f0e1419 (diff)
changed logfile name format; fixed path issues
svn path=/trunk/; revision=5503
-rwxr-xr-xscripts/auto-build/prep-auto-build-upload2
-rwxr-xr-xscripts/auto-build/pure-data-cvs-rsync10
-rwxr-xr-xscripts/auto-build/pure-data-cvs-rsync-checkout2
3 files changed, 5 insertions, 9 deletions
diff --git a/scripts/auto-build/prep-auto-build-upload b/scripts/auto-build/prep-auto-build-upload
index 59cc6c56..672703be 100755
--- a/scripts/auto-build/prep-auto-build-upload
+++ b/scripts/auto-build/prep-auto-build-upload
@@ -7,7 +7,7 @@ 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
+LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
BUILD_ROOT="/var/www/auto-build"
TODAYS_ROOT="${BUILD_ROOT}/${DATE}"
diff --git a/scripts/auto-build/pure-data-cvs-rsync b/scripts/auto-build/pure-data-cvs-rsync
index e6e7ec59..f1c61b4d 100755
--- a/scripts/auto-build/pure-data-cvs-rsync
+++ b/scripts/auto-build/pure-data-cvs-rsync
@@ -4,7 +4,7 @@ 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
+LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
VERBOSE_FLAGS=-v
#VERBOSE_FLAGS="-v --progress"
@@ -15,16 +15,12 @@ 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 "chown -R pd.pd /home/pd/cvsroot" >> $LOGFILE 2>&1
echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1
-chown -R pd /home/pd/cvsroot/pd-gem >> $LOGFILE 2>&1
+chown -R pd.pd /home/pd/cvsroot >> $LOGFILE 2>&1
diff --git a/scripts/auto-build/pure-data-cvs-rsync-checkout b/scripts/auto-build/pure-data-cvs-rsync-checkout
index 9181cf72..bbf0c74c 100755
--- a/scripts/auto-build/pure-data-cvs-rsync-checkout
+++ b/scripts/auto-build/pure-data-cvs-rsync-checkout
@@ -4,7 +4,7 @@ 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
+LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
touch $LOGFILE