aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/auto-build-common
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/auto-build-common
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/auto-build-common')
-rw-r--r--scripts/auto-build/auto-build-common10
1 files changed, 10 insertions, 0 deletions
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
+