From f4e90a9605d3331e0b1cea76f25d01ed74fbcaf4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 18 Oct 2006 15:42:12 +0000 Subject: switched to a common file for common variables; downcased hostname and uname svn path=/trunk/; revision=6133 --- scripts/auto-build/pure-data-cvs-rsync | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'scripts/auto-build/pure-data-cvs-rsync') diff --git a/scripts/auto-build/pure-data-cvs-rsync b/scripts/auto-build/pure-data-cvs-rsync index f1c61b4d..b73414ef 100755 --- a/scripts/auto-build/pure-data-cvs-rsync +++ b/scripts/auto-build/pure-data-cvs-rsync @@ -1,9 +1,13 @@ #!/bin/sh +# rsync the CVS source files from SourceForge to make a local copy -SYSTEM=`uname -s` -DATE=`date +%Y-%m-%d` -TIME=`date +%H.%M.%S` +# 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 VERBOSE_FLAGS=-v -- cgit v1.2.1