We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebf5a73 commit e886960Copy full SHA for e886960
1 file changed
test/prism.sh
@@ -2,7 +2,7 @@
2
3
install () {
4
5
-set -eu
+set -e
6
7
UNAME=$(uname)
8
ARCH=$(uname -m)
@@ -28,10 +28,8 @@ fi
28
LATEST=$(curl -s https://api.github.com/repos/stoplightio/prism/tags | grep -Eo '"name":.*?[^\\]",' | head -n 1 | sed 's/[," ]//g' | cut -d ':' -f 2)
29
URL="https://github.com/stoplightio/prism/releases/download/$LATEST/prism_$PLATFORM"
30
DEST=/usr/local/bin/prism
31
-if [ -z $GOPATH ]; then
32
- if [ "$GOPATH" != "" ] ; then
+if [ "$GOPATH" != "" ] ; then
33
DEST=$GOPATH/bin/prism
34
- fi
35
fi
36
37
if [ -z $LATEST ] ; then
0 commit comments