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/pd-devel-auto-builder.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/auto-build/pd-devel-auto-builder.sh') diff --git a/scripts/auto-build/pd-devel-auto-builder.sh b/scripts/auto-build/pd-devel-auto-builder.sh index 1524c13c..8670f705 100644 --- a/scripts/auto-build/pd-devel-auto-builder.sh +++ b/scripts/auto-build/pd-devel-auto-builder.sh @@ -1,9 +1,10 @@ #!/bin/sh -HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'` -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'` case $SYSTEM in -- cgit v1.2.1