syntax error fixed
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 5 Nov 2007 23:43:14 +0000 (23:43 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 5 Nov 2007 23:43:14 +0000 (23:43 +0000)
scripts/nightly-build-vserver.sh

index 536b81f..dafc250 100755 (executable)
@@ -22,17 +22,6 @@ TESTSEND=TestSendMail
 # plc chroot runs in UTC
 DATE=$(date -u +'%Y.%m.%d')
 
-###### copy this command into the vserver before invoking it - install in /
-###function install_in_vserver () {
-###    vserver=$1; shift
-###    cp $COMMANDPATH /vservers/$vserver/$COMMAND
-###}
-###
-###function run_in_vserver () {
-###    vserver=$1; shift
-###    vserver $vserver exec /$COMMAND "$@"
-###}
-
 # Notify recipient of failure or success, manage various stamps 
 function failure() {
     set -x
@@ -55,19 +44,6 @@ function success () {
     exit 0
 }
 
-function create_vserver () {
-}
-
-function use_base () {
-    if 
-    [ ! -d $BASE ] && mkdir $BASE
-    if [ ! -d $BASE ] ; then
-       echo $COMMAND failed to create base $BASE
-       exit 1
-    fi
-}
-
-
 function build () {
     set -x
     set -e