You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/05/09 18:30:43 UTC

[08/27] incubator-trafficcontrol git commit: moved the gopath to /opt/traffic_ops/go

moved the gopath to /opt/traffic_ops/go


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/16b300c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/16b300c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/16b300c9

Branch: refs/heads/master
Commit: 16b300c9d57998502fcd35a7ca6b0dd37e743765
Parents: a8aedf6
Author: Dewayne Richardson <de...@apache.org>
Authored: Tue May 2 11:10:15 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue May 9 18:28:58 2017 +0000

----------------------------------------------------------------------
 traffic_ops/install/bin/postinstall | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/16b300c9/traffic_ops/install/bin/postinstall
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/postinstall b/traffic_ops/install/bin/postinstall
index aee1f78..e9a4c55 100755
--- a/traffic_ops/install/bin/postinstall
+++ b/traffic_ops/install/bin/postinstall
@@ -36,7 +36,8 @@ cd /opt/traffic_ops/app
 export POSTGRES_HOME=${POSTGRES_HOME:-/usr/pgsql-9.6}
 /usr/local/bin/carton
 
-export GOPATH=${GOPATH:-/usr/local/go/bin}
+mkdir -p /opt/traffic_ops/go
+export GOPATH=${GOPATH:-/opt/traffic_ops/go}
 go get bitbucket.org/liamstask/goose/cmd/goose
 
 export PERL5LIB=/opt/traffic_ops/app/lib:/opt/traffic_ops/app/local/lib/perl5