Skip to content

Commit

Permalink
chore(repo): install.sh should work in POSIX envs (#2045)
Browse files Browse the repository at this point in the history
  • Loading branch information
jurek7 authored Feb 3, 2022
1 parent 02d2ee6 commit 29c65da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ elif [ "$UNAME" = "Linux" ] ; then
fi
fi

if [ "$VERSION" == "latest" ] ; then
if [ "$VERSION" = "latest" ] ; then
URL="https://github.com/stoplightio/spectral/releases/latest/download/${FILENAME}"
else
URL="https://github.com/stoplightio/spectral/releases/download/v${VERSION}/${FILENAME}"
Expand Down

0 comments on commit 29c65da

Please sign in to comment.