diff --git a/Vagrantfile b/Vagrantfile index f1249a750..1d286330e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -16,11 +16,10 @@ cd ${SRCROOT}/src # Setup the GOPATH mkdir -p /opt/gopath -cat </tmp/gopath.sh +cat </etc/profile.d/gopath.sh export GOPATH="/opt/gopath" export PATH="/opt/go/bin:\$GOPATH/bin:\$PATH" EOF -mv /tmp/gopath.sh /etc/profile.d/gopath.sh chmod 0755 /etc/profile.d/gopath.sh # Make sure the gopath is usable by vagrant