maintain modules.list
[build.git] / vbuild-nightly.sh
index 997ce64..1a5af6e 100755 (executable)
@@ -109,7 +109,7 @@ EOF
 
 ### we might build on a box other than the actual web server
 # utilities for handling the pushed material (rpms, logfiles, ...)
-function webpublish_misses_dir () { ssh root@${WEBHOST} bash -c "test ! -d $1" ; }
+function webpublish_misses_dir () { ssh root@${WEBHOST}  "bash -c \"test \! -d $1\"" ; }
 function webpublish_remote () { ssh root@${WEBHOST} "$@" ; }
 function webpublish_mkdir () { webpublish_remote mkdir "$@" ; }
 function webpublish_rm () { webpublish_remote rm "$@" ; }
@@ -559,6 +559,8 @@ function main () {
            # update build
            [ -n "$SSH_KEY" ] && setupssh ${BASE} ${SSH_KEY}
            vserver ${BASE} exec svn update /build
+           # make sure we refresh the tests place in case it has changed
+           rm -f /build/tests_svnpath
            # get environment from the first run 
            FCDISTRO=$(vserver ${BASE} exec /build/getdistroname.sh)
            # retrieve all in one run