Skip to content

Commit

Permalink
Fix quote escaping in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kovalenko committed Nov 11, 2020
1 parent dc41b6b commit 82b7a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DOWNLOAD_URL=$(curl -fsSL https://api.github.com/repos/SupersonicAds/spotcli/rel
| grep browser_download_url \
| cut -d '"' -f 4)
WHEEL_FILE="$(mktemp -d)/${DOWNLOAD_URL##*/}"
trap "rm -f $WHEEL_FILE >/dev/null 2>&1 || true && echo 'ERROR: SpotCLI wasn\\'t installed' && exit 1" ERR
trap "rm -f $WHEEL_FILE >/dev/null 2>&1 || true && echo \"ERROR: SpotCLI wasn't installed\" && exit 1" ERR

echo -en "Downloading latest wheel from GitHub..."
curl -fsSL -o $WHEEL_FILE "$DOWNLOAD_URL"
Expand Down

0 comments on commit 82b7a5f

Please sign in to comment.