aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/auto-build/pd-devel-auto-builder.sh27
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh1
-rwxr-xr-xscripts/auto-build/pd-main-auto-builder.sh2
3 files changed, 29 insertions, 1 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
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index 8e50ee5a..48a78f0e 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -2,6 +2,7 @@
# this script is the first attempt to have an automated updater and builder
+HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
SYSTEM=`uname -s`
DATE=`date +%Y-%m-%d`
TIME=`date +%H.%M.%S`
diff --git a/scripts/auto-build/pd-main-auto-builder.sh b/scripts/auto-build/pd-main-auto-builder.sh
index 9bd3df79..31ba3075 100755
--- a/scripts/auto-build/pd-main-auto-builder.sh
+++ b/scripts/auto-build/pd-main-auto-builder.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-HOSTNAME=`hostname`
+HOSTNAME=`hostname | sed 's|\([a-zA-Z0-9-]*\)\..*|\1|'`
SYSTEM=`uname -s`
DATE=`date +%Y-%m-%d`
TIME=`date +%H.%M.%S`