Skip to content

Commit a3b0255

Browse files
author
Dean Troyer
committed
Fix script matching in exercise.sh
This prevents false matches in exercise skip test Change-Id: I5656a20bcf11b2ccaf55e280655d0600124adedc
1 parent 701718a commit a3b0255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercise.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ skips=""
2828

2929
# Loop over each possible script (by basename)
3030
for script in $basenames; do
31-
if [[ "$SKIP_EXERCISES" =~ $script ]] ; then
31+
if [[ ,$SKIP_EXERCISES, =~ ,$script, ]] ; then
3232
skips="$skips $script"
3333
else
3434
echo "====================================================================="

0 commit comments

Comments
 (0)