Browse Source

run build in src

Hamilton Turner 11 years ago
parent
commit
64bb1f0b3f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frameworks/C#/aspnet/setup_nginx.py

+ 2 - 2
frameworks/C#/aspnet/setup_nginx.py

@@ -12,8 +12,8 @@ def start(args, logfile, errfile):
   try:
   try:
     # build
     # build
     subprocess.check_call("rm -rf bin obj", shell=True, cwd="aspnet", stderr=errfile, stdout=logfile)
     subprocess.check_call("rm -rf bin obj", shell=True, cwd="aspnet", stderr=errfile, stdout=logfile)
-    subprocess.check_call("xbuild /p:Configuration=Release", shell=True, cwd="aspnet", stderr=errfile, stdout=logfile)
-    subprocess.check_call("sudo chown -R $USER:$USER /usr/local/etc/mono", shell=True, stderr=errfile, stdout=logfile)
+    subprocess.check_call("xbuild /p:Configuration=Release", shell=True, cwd="aspnet/src", stderr=errfile, stdout=logfile)
+    subprocess.check_call("sudo chown -R $USER:$USER $MONO_ROOT", shell=True, stderr=errfile, stdout=logfile)
     
     
     # nginx
     # nginx
     workers = 'worker_processes ' + str(args.max_threads) + ';'
     workers = 'worker_processes ' + str(args.max_threads) + ';'