Browse Source

Still broken - moving on

msmith-techempower 10 years ago
parent
commit
7b85766432
2 changed files with 2 additions and 4 deletions
  1. 0 2
      frameworks/C#/aspnet/bash_profile.sh
  2. 2 2
      frameworks/C#/aspnet/setup_nginx.sh

+ 0 - 2
frameworks/C#/aspnet/bash_profile.sh

@@ -2,8 +2,6 @@
 
 export MONO_ROOT=${IROOT}/mono-3.6.0-install
 
-export PATH="$MONO_ROOT/bin:$PATH"
-
 # Needed to find Mono's shared libraries
 export LD_LIBRARY_PATH="$MONO_ROOT/lib"
 

+ 2 - 2
frameworks/C#/aspnet/setup.sh → frameworks/C#/aspnet/setup_nginx.sh

@@ -1,11 +1,11 @@
 #!/bin/bash
 
-sed -i 's|localhost|'"$DBHOST"'|g' aspnet/src/Web.config
+sed -i 's|localhost|'"$DBHOST"'|g' src/Web.config
 
 # build
 rm -rf bin obj
 cd src
-xbuild /p:Configuration=Release
+$MONO_ROOT/bin/xbuild /p:Configuration=Release
 
 # nginx
 conf="upstream mono {\n"