fix the GOPATH/bin
This commit is contained in:
parent
05078bce47
commit
2552590e22
|
@ -15,7 +15,7 @@ cd /opt/go/src && ./all.bash
|
||||||
mkdir -p /opt/gopath
|
mkdir -p /opt/gopath
|
||||||
cat <<EOF >/etc/profile.d/gopath.sh
|
cat <<EOF >/etc/profile.d/gopath.sh
|
||||||
export GOPATH="/opt/gopath"
|
export GOPATH="/opt/gopath"
|
||||||
export PATH="/opt/go/bin:\$GOPATH/bin:\$PATH"
|
export PATH="/opt/go/bin:$GOPATH/bin:\$PATH"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Make sure the GOPATH is usable by vagrant
|
# Make sure the GOPATH is usable by vagrant
|
||||||
|
|
Loading…
Reference in New Issue