aboutsummaryrefslogtreecommitdiff
path: root/scripts
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
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')
-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`