aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/prep-auto-build-upload
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-10-18 15:42:12 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-10-18 15:42:12 +0000
commitf4e90a9605d3331e0b1cea76f25d01ed74fbcaf4 (patch)
tree5b7cc67f272eb9dcc39cad5c1eb7ae1cb32fd46a /scripts/auto-build/prep-auto-build-upload
parent848d5198beabf8447a45bd7ab202251350e4a0cb (diff)
switched to a common file for common variables; downcased hostname and uname
svn path=/trunk/; revision=6133
Diffstat (limited to 'scripts/auto-build/prep-auto-build-upload')
-rwxr-xr-xscripts/auto-build/prep-auto-build-upload10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/auto-build/prep-auto-build-upload b/scripts/auto-build/prep-auto-build-upload
index 1844e2e7..145a0ffe 100755
--- a/scripts/auto-build/prep-auto-build-upload
+++ b/scripts/auto-build/prep-auto-build-upload
@@ -1,11 +1,11 @@
#!/bin/sh
-
# prepare a directory per date for the auto-builders to upload to
-HOSTNAME=`hostname`
-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