Skip to content

Commit

Permalink
Add shellcheck ignore directive for which (default in shellcheck>=0.7.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpeukert authored and neverpanic committed Jun 20, 2020
1 parent 08da091 commit d7bb34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions google-font-download
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ if [ "$(echo "test" | sed -E 's/([st]+)$/xx\1/' 2>/dev/null)" == "texxst" ]; the
elif [ "$(echo "test" | sed -r 's/([st]+)$/xx\1/' 2>/dev/null)" == "texxst" ]; then
ESED="sed -r"
else
# shellcheck disable=SC2230
err_exit "$(which sed) seems to lack extended regex support with -E or -r"
fi

Expand Down

0 comments on commit d7bb34e

Please sign in to comment.