Skip to content

Commit

Permalink
Ignore shellcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Feb 15, 2017
1 parent 1a1fbdf commit 25691c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions download-itunes-cover
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ if test "z$URL" = "z" ; then
exit 1
fi

BASE_URL="$(echo $URL | sed -e 's/[0-9]*x[0-9]*[^.]*\.[a-z]*$//')"
SUFFIX="$(echo $URL | sed -e 's/^.*[0-9]*x[0-9]*\([^.]*\)\.\([a-z]*\)$/\1.\2/')"
# shellcheck disable=SC2001
BASE_URL="$(echo "$URL" | sed -e 's/[0-9]*x[0-9]*[^.]*\.[a-z]*$//')"
# shellcheck disable=SC2001
SUFFIX="$(echo "$URL" | sed -e 's/^.*[0-9]*x[0-9]*\([^.]*\)\.\([a-z]*\)$/\1.\2/')"

test_size() {
size=$1
Expand Down

0 comments on commit 25691c4

Please sign in to comment.