Skip to content

Commit

Permalink
update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Jun 4, 2017
1 parent ef8b235 commit 72736b0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions release/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

GO_AMD64=https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
GO_X86=https://storage.googleapis.com/golang/go1.6.2.linux-386.tar.gz
GO_AMD64=https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
GO_X86=https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
ARCH=$(uname -m)
GO_CUR=${GO_AMD64}

Expand All @@ -21,7 +21,8 @@ if [ -z "$GOPATH" ]; then
export GOPATH=/v2ray
fi

go get -u v2ray.com/core
rm $GOPATH/bin/build
go install v2ray.com/core/tools/build
$GOPATH/bin/build
go get -u v2ray.com/core/...
go get -u v2ray/com/ext/...
rm $GOPATH/bin/vbuild
go install v2ray.com/ext/tools/build/vbuild
$GOPATH/bin/vbuild

0 comments on commit 72736b0

Please sign in to comment.