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/auto-build-common | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/auto-build/auto-build-common (limited to 'scripts/auto-build/auto-build-common') diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common new file mode 100644 index 00000000..9c6ac5aa --- /dev/null +++ b/scripts/auto-build/auto-build-common @@ -0,0 +1,10 @@ +# these are common variables for the auto-build scripts + +HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]\)\..*|\1|' | sed 'y|ABCDEFGHIJKLMNOPQRSTUVWXYZ|abcdefghijklmnopqrstuvwxyz|'` +SYSTEM=`uname -s | sed 'y|ABCDEFGHIJKLMNOPQRSTUVWXYZ|abcdefghijklmnopqrstuvwxyz|'` +DATE=`date +%Y-%m-%d` +TIME=`date +%H.%M.%S` + +# recipient of any emails set from the scripts +RECIPIENT=pd-cvs@iem.at + -- cgit v1.2.1