From: Thierry Parmentelat Date: Sun, 10 Jan 2010 20:48:08 +0000 (+0000) Subject: quoting X-Git-Tag: 4.3-rc16~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8ed55190029332b07a5c2232920aa7d4f3b15f2e;p=build.git quoting --- diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 997ce642..0e5c7790 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -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 "$@" ; }