fix
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 12 Nov 2007 14:02:06 +0000 (14:02 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 12 Nov 2007 14:02:06 +0000 (14:02 +0000)
scripts/nightly-build-vserver.sh

index c5095be..0e64f1d 100755 (executable)
@@ -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