diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-29 04:37:08 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-09-29 04:37:08 +0000 |
commit | 1468db380cbc96277818e54b785bd46612b543f4 (patch) | |
tree | 1c72bc4722509085529ff717092d4fef79c66f08 /scripts/auto-build | |
parent | e80ba033075c324bc9ce94ddf6dc5a3870c81fad (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')
-rw-r--r-- | scripts/auto-build/pd-devel-auto-builder.sh | 27 | ||||
-rwxr-xr-x | scripts/auto-build/pd-extended-auto-builder.sh | 1 | ||||
-rwxr-xr-x | scripts/auto-build/pd-main-auto-builder.sh | 2 |
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` |