Skip to content

Commit

Permalink
SC2086: Double quote to prevent globbing and word splitting. (#318)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
  • Loading branch information
fenollp committed Jul 20, 2019
1 parent a3bfc82 commit a0f4789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kerl
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ get_git_releases() {
}

get_tarball_releases() {
tmp="$(mktemp ${TMP_DIR}/kerl.XXXXXX)"
tmp="$(mktemp "$TMP_DIR"/kerl.XXXXXX)"
if [ 200 = "$(curl -qsL --output "$tmp" --write-out '%{http_code}' $ERLANG_DOWNLOAD_URL/)" ]; then
sed $SED_OPT \
-e 's/^.*<[aA] [hH][rR][eE][fF]=\"otp_src_([-0-9A-Za-z_.]+)\.tar\.gz\">.*$/\1/' \
Expand Down

0 comments on commit a0f4789

Please sign in to comment.