瀏覽代碼

Remove bash_profile.sh from ASP.NET

Pēteris Ņikiforovs 11 年之前
父節點
當前提交
197d4929e0
共有 2 個文件被更改,包括 5 次插入6 次删除
  1. 0 5
      frameworks/CSharp/aspnet/bash_profile.sh
  2. 5 1
      frameworks/CSharp/aspnet/setup_nginx.sh

+ 0 - 5
frameworks/CSharp/aspnet/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export NGINX_HOME=${IROOT}/nginx
-
-export MONO_HOME=/opt/mono-20141222114925

+ 5 - 1
frameworks/CSharp/aspnet/setup_nginx.sh

@@ -1,9 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 
 
-sed -i 's|localhost|'"$DBHOST"'|g' src/Web.config
+set -e
 
 
+export NGINX_HOME=${IROOT}/nginx
+export MONO_HOME=/opt/mono-20141222114925
 export PATH=$MONO_HOME/bin:$PATH
 export PATH=$MONO_HOME/bin:$PATH
 
 
+sed -i 's|localhost|'"$DBHOST"'|g' src/Web.config
+
 # build
 # build
 cd src
 cd src
 rm -rf bin obj
 rm -rf bin obj