瀏覽代碼

remove bash_profile for revel

Lita Gratrix 10 年之前
父節點
當前提交
651f222dd6
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 0 4
      frameworks/Go/revel/bash_profile.sh
  2. 3 0
      frameworks/Go/revel/setup.sh

+ 0 - 4
frameworks/Go/revel/bash_profile.sh

@@ -1,4 +0,0 @@
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/revel/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/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/benchmark/conf/app.conf
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf