Skip to content

Commit a11a0fc

Browse files
authored
Update install.sh
Fix script
1 parent a060a40 commit a11a0fc

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ fi
2828
LATEST=$(curl -s https://api.github.com/repos/stoplightio/prism/tags | grep -Eo '"name":.*?[^\\]",' | head -n 1 | sed 's/[," ]//g' | cut -d ':' -f 2)
2929
URL="https://github.com/stoplightio/prism/releases/download/$LATEST/prism_$PLATFORM"
3030
DEST=/usr/local/bin/prism
31-
if [ "$GOPATH" != "" ] ; then
32-
DEST=$GOPATH/bin/prism
33-
fi
3431

3532
if [ -z $LATEST ] ; then
3633
echo "Error requesting. Download binary from ${URL}"

0 commit comments

Comments
 (0)