This prevents false matches in exercise skip test
Change-Id: I5656a20bcf11b2ccaf55e280655d0600124adedc
| ... | ... |
@@ -28,7 +28,7 @@ skips="" |
| 28 | 28 |
|
| 29 | 29 |
# Loop over each possible script (by basename) |
| 30 | 30 |
for script in $basenames; do |
| 31 |
- if [[ "$SKIP_EXERCISES" =~ $script ]] ; then |
|
| 31 |
+ if [[ ,$SKIP_EXERCISES, =~ ,$script, ]] ; then |
|
| 32 | 32 |
skips="$skips $script" |
| 33 | 33 |
else |
| 34 | 34 |
echo "=====================================================================" |