aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pd-devel-auto-builder.sh
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-29 04:37:08 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-29 04:37:08 +0000
commit1468db380cbc96277818e54b785bd46612b543f4 (patch)
tree1c72bc4722509085529ff717092d4fef79c66f08 /scripts/auto-build/pd-devel-auto-builder.sh
parente80ba033075c324bc9ce94ddf6dc5a3870c81fad (diff)
fixed up hostname so that the domain name is not included; added skeleton to pd-devel script
svn path=/trunk/; revision=6055
Diffstat (limited to 'scripts/auto-build/pd-devel-auto-builder.sh')
-rw-r--r--scripts/auto-build/pd-devel-auto-builder.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/auto-build/pd-devel-auto-builder.sh b/scripts/auto-build/pd-devel-auto-builder.sh
index daa32fd1..1524c13c 100644
--- a/scripts/auto-build/pd-devel-auto-builder.sh
+++ b/scripts/auto-build/pd-devel-auto-builder.sh
@@ -1,5 +1,32 @@
#!/bin/sh
+HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
+SYSTEM=`uname -s`
+DATE=`date +%Y-%m-%d`
+TIME=`date +%H.%M.%S`
+SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
+
+case $SYSTEM in
+ Linux)
+ echo "Configuring for GNU/Linux"
+ ;;
+ Darwin)
+ echo "Configuring for Darwin/Mac OS X"
+ ;;
+ MINGW*)
+ echo "Configuring for MinGW/Windows"
+ ;;
+ CYGWIN*)
+ echo "Configuring for Cygwin/Windows"
+ ;;
+ *)
+ echo "ERROR: Platform $SYSTEM not supported!"
+ exit
+ ;;
+esac
+
+
+
echo "This currently does nothing, but it could..."
# if the below word prints, the status report email is not sent