Update of /cvsroot/pure-data/scripts/auto-build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20498
Modified Files: pd-devel-auto-builder.sh pd-extended-auto-builder.sh pd-main-auto-builder.sh Log Message: fixed up hostname so that the domain name is not included; added skeleton to pd-devel script
Index: pd-main-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-main-auto-builder.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pd-main-auto-builder.sh 28 Sep 2006 18:27:41 -0000 1.6 --- pd-main-auto-builder.sh 29 Sep 2006 04:37:08 -0000 1.7 *************** *** 1,5 **** #!/bin/sh
! HOSTNAME=`hostname` SYSTEM=`uname -s` DATE=`date +%Y-%m-%d` --- 1,5 ---- #!/bin/sh
! HOSTNAME=`hostname | sed 's|([a-zA-Z0-9-]*)..*|\1|'` SYSTEM=`uname -s` DATE=`date +%Y-%m-%d`
Index: pd-devel-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-devel-auto-builder.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pd-devel-auto-builder.sh 8 Aug 2006 15:36:27 -0000 1.2 --- pd-devel-auto-builder.sh 29 Sep 2006 04:37:08 -0000 1.3 *************** *** 1,4 **** --- 1,31 ---- #!/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..."
Index: pd-extended-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-extended-auto-builder.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** pd-extended-auto-builder.sh 28 Sep 2006 23:04:26 -0000 1.7 --- pd-extended-auto-builder.sh 29 Sep 2006 04:37:08 -0000 1.8 *************** *** 3,6 **** --- 3,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`