From b4829453eff5114487f2859e41c2a8375fc9be62 Mon Sep 17 00:00:00 2001 From: Jeff Bilyk Date: Tue, 14 Dec 2010 04:28:45 +0000 Subject: apts: fix handling of multiple package test arguments fix multiple package test arguments --- apts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apts b/apts index e91ca10..6a612dc 100755 --- a/apts +++ b/apts @@ -56,8 +56,8 @@ while [ $# -gt 0 ]; do if [ "$?" == "1" ]; then echo "Testing file for $PACKAGE does not exist" && /bin/sh -e ./tests/generic-apk $PACKAGE >> "$OUTFILE" 2>&1 && echo "$PACKAGE passed tests" && exit 0; # if testing file exists, then keep running - else echo "Testing $PACKAGE apk" && /bin/sh -e ./tests/$PACKAGE $PACKAGE >> "$OUTFILE" 2>&1 && echo "$PACKAGE passed tests" && exit 0; + else echo "Testing $PACKAGE apk" && /bin/sh -e ./tests/$PACKAGE $PACKAGE >> "$OUTFILE" 2>&1 && echo "$PACKAGE passed tests"; fi - i=$(( $i + 1 )) + i=$((i + 1)) shift done -- cgit v1.2.3