Fix script matching in exercise.sh
This prevents false matches in exercise skip test Change-Id: I5656a20bcf11b2ccaf55e280655d0600124adedc
This commit is contained in:
parent
701718a844
commit
a3b0255313
@ -28,7 +28,7 @@ skips=""
|
||||
|
||||
# Loop over each possible script (by basename)
|
||||
for script in $basenames; do
|
||||
if [[ "$SKIP_EXERCISES" =~ $script ]] ; then
|
||||
if [[ ,$SKIP_EXERCISES, =~ ,$script, ]] ; then
|
||||
skips="$skips $script"
|
||||
else
|
||||
echo "====================================================================="
|
||||
|
Loading…
Reference in New Issue
Block a user