From 8ddc3e08e3abbb9dc70d0d01532c5d4ac9f11587 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 19 Jul 2006 15:19:04 +0000 Subject: added standardized logging svn path=/trunk/; revision=5381 --- scripts/automated-builder.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/automated-builder.sh b/scripts/automated-builder.sh index 98165e08..6847c719 100755 --- a/scripts/automated-builder.sh +++ b/scripts/automated-builder.sh @@ -2,12 +2,13 @@ # this script is the first attempt to have an automated updater and builder -auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. SYSTEM=`uname -s` DATE=`date +%Y-%m-%d` TIME=`date +%H.%M.%S` -LOGFILE=/tmp/build-log_${SYSTEM}_${DATE}_${TIME}.txt +SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'` +LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt +auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. # convert into absolute path cd ${auto_build_root_dir} auto_build_root_dir=`pwd` -- cgit v1.2.1