From d57b7e8d5fd59007e7fc42132de5cc9459a2bc71 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 26 Jun 2014 23:25:17 +0200 Subject: Fix for installer --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index fe80a6956..fc4724217 100644 --- a/install.sh +++ b/install.sh @@ -27,7 +27,7 @@ if [ $? != 0 ]; then fi echo "serpent-go" -cd $GOPATH/src/github.com/obscuren/mutan +cd $GOPATH/src/github.com/obscuren/serpent-go echo "init submodule" git submodule init -- cgit v1.2.3 From 1b74b98f90d6641b2cd18c60dc9b5829a9870d86 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 26 Jun 2014 23:31:07 +0200 Subject: Check if go install succeed --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index fc4724217..9719a1afc 100644 --- a/install.sh +++ b/install.sh @@ -49,5 +49,9 @@ else fi go install +if [ $? == 0 ]; then + echo "go install failed" + exit +fi echo "done. Please run $exe :-)" -- cgit v1.2.3