浏览代码

remove bash_profile.sh from node.js

Lita Gratrix 11 年之前
父节点
当前提交
76d54a792d
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 0 3
      frameworks/JavaScript/nodejs/bash_profile.sh
  2. 1 0
      frameworks/JavaScript/nodejs/setup.sh

+ 0 - 3
frameworks/JavaScript/nodejs/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64

+ 1 - 0
frameworks/JavaScript/nodejs/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' hello.js
 sed -i 's|localhost|'"${DBHOST}"'|g' hello.js
 sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js
 sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js