From 8f1785a37395166bc19e2a8f9feb04dadff7f1df Mon Sep 17 00:00:00 2001 From: thierry Date: Mon, 12 Nov 2007 14:02:06 +0000 Subject: [PATCH] fix --- scripts/nightly-build-vserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.0