diff options
Diffstat (limited to 'scripts/auto-build/prep-auto-build-upload')
-rwxr-xr-x | scripts/auto-build/prep-auto-build-upload | 10 |
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 |