From 2515f44717c311e577b3de97faeab3000ce5ed37 Mon Sep 17 00:00:00 2001 From: Jon-Erik Schneiderhan Date: Fri, 17 Apr 2015 09:39:31 -0400 Subject: [PATCH] Update GOPATH usage in Vagrantfile I think there is a missing escape in the Vagrantfile. Inside the VM I had to fix the /etc/profile.d/gopath.sh because it's contents were: ``` export GOPATH="/opt/gopath" export PATH="/opt/go/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" ``` BTW having a way to spin up a dev VM so easily made it a breeze to get hacking on Terraform! Great idea! --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 6415a58b6..687bc09af 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,7 +15,7 @@ cd /opt/go/src && ./all.bash mkdir -p /opt/gopath cat </etc/profile.d/gopath.sh export GOPATH="/opt/gopath" -export PATH="/opt/go/bin:$GOPATH/bin:\$PATH" +export PATH="/opt/go/bin:\$GOPATH/bin:\$PATH" EOF # Make sure the GOPATH is usable by vagrant