You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/06/29 13:59:09 UTC

[trafficcontrol] branch master updated: remove /usr/local/go from goose install -- use natively-installed go instead

This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 04eed52  remove /usr/local/go from goose install -- use natively-installed go instead
04eed52 is described below

commit 04eed52fceaeed10ab80f6dee08976dac72ec407
Author: Dan Kirkwood <da...@apache.org>
AuthorDate: Thu Jun 28 13:56:20 2018 -0600

    remove /usr/local/go from goose install -- use natively-installed go instead
---
 traffic_ops/install/bin/install_goose.sh | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/traffic_ops/install/bin/install_goose.sh b/traffic_ops/install/bin/install_goose.sh
index 5b444f6..66fd6a8 100755
--- a/traffic_ops/install/bin/install_goose.sh
+++ b/traffic_ops/install/bin/install_goose.sh
@@ -14,14 +14,11 @@
 # limitations under the License.
 #
 
-GO_BINARY=/usr/local/go/bin/go
-
 echo "Now installing goose"
 export GOPATH=/opt/traffic_ops/go
 mkdir -p $GOPATH
 
-echo "GO_BINARY: $GO_BINARY"
-$GO_BINARY get bitbucket.org/liamstask/goose/cmd/goose
-$GO_BINARY get github.com/lib/pq
+go get bitbucket.org/liamstask/goose/cmd/goose
+go get github.com/lib/pq
 
 echo "Successfully installed goose to $GOPATH/bin/goose"