소스 검색

Still broken - moving on

msmith-techempower 11 년 전
부모
커밋
7b85766432
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  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"