remove spacicolons.

This commit is contained in:
Todd Willey 2011-11-05 10:46:56 -04:00
parent 9e9132ddaf
commit 0367cf1585

View File

@ -8,7 +8,7 @@ SKIP_EXERCISES=${SKIP_EXERCISES:-""}
# Locate the scripts we should run # Locate the scripts we should run
EXERCISE_DIR=$(dirname "$0")/exercises EXERCISE_DIR=$(dirname "$0")/exercises
basenames=$(for b in `ls $EXERCISE_DIR/*.sh` ; do basename $b .sh ; done) basenames=$(for b in `ls $EXERCISE_DIR/*.sh`; do basename $b .sh; done)
# Track the state of each script # Track the state of each script
passes="" passes=""
@ -16,7 +16,7 @@ failures=""
skips="" skips=""
# Loop over each possible script (by basename) # Loop over each possible script (by basename)
for script in $basenames ; do for script in $basenames; do
if [[ "$SKIP_EXERCISES" =~ $script ]] ; then if [[ "$SKIP_EXERCISES" =~ $script ]] ; then
skips="$skips $script" skips="$skips $script"
else else
@ -35,12 +35,12 @@ done
# output status of exercise run # output status of exercise run
echo ========================= echo =========================
echo ========================= echo =========================
for script in $skips ; do for script in $skips; do
echo SKIP $script echo SKIP $script
done done
for script in $passes ; do for script in $passes; do
echo PASS $script echo PASS $script
done done
for script in $failures ; do for script in $failures; do
echo FAILED $script echo FAILED $script
done done