From: thierry Date: Mon, 12 Nov 2007 14:02:06 +0000 (+0000) Subject: fix X-Git-Tag: foo~387 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8f1785a37395166bc19e2a8f9feb04dadff7f1df;p=infrastructure.git fix --- diff --git a/scripts/nightly-build-vserver.sh b/scripts/nightly-build-vserver.sh index c5095be..0e64f1d 100755 --- a/scripts/nightly-build-vserver.sh +++ b/scripts/nightly-build-vserver.sh @@ -88,7 +88,7 @@ function runtest () { ### the URL to the myplc package cd /build/RPMS/i386 rpm=$(ls myplc-[0-9]*.rpm) - if [ ${#rpm} != 1 ] ; then + if [ ${#rpm[@]} != 1 ] ; then echo "Cannot locate rpm for testing" exit 1 fi