Browse Source

Remove bash_profile.sh from ASP.NET

Pēteris Ņikiforovs 10 years ago
parent
commit
197d4929e0

+ 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
 
-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
 
+sed -i 's|localhost|'"$DBHOST"'|g' src/Web.config
+
 # build
 cd src
 rm -rf bin obj