浏览代码

remove bash_profile.sh from scalatra

Lita Gratrix 10 年之前
父节点
当前提交
2a7e607db2
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 0 4
      frameworks/Scala/scalatra/bash_profile.sh
  2. 2 0
      frameworks/Scala/scalatra/setup.sh

+ 0 - 4
frameworks/Scala/scalatra/bash_profile.sh

@@ -1,4 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41
-
-export SBT_HOME=${IROOT}/sbt

+ 2 - 0
frameworks/Scala/scalatra/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
+export RESIN_HOME=${IROOT}/resin-4.0.41
+export SBT_HOME=${IROOT}/sbt
 
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' src/main/webapp/WEB-INF/resin-web.xml