Browse Source

Add go env variable exports to go-prefork test

- Failed to add export vairables to go-prefork test when removing bash_profile
Brittany Mazza 10 years ago
parent
commit
285231d2ad
1 changed files with 4 additions and 0 deletions
  1. 4 0
      frameworks/Go/go/setup_prefork.sh

+ 4 - 0
frameworks/Go/go/setup_prefork.sh

@@ -1,5 +1,9 @@
 #!/bin/bash
 
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
+
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go
 
 # Where to find the go executable