Browse Source

fixed setup file to use pfalls variable

Patrick Falls 12 years ago
parent
commit
a2635b4e70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      aspnet/setup_nginx.py

+ 1 - 1
aspnet/setup_nginx.py

@@ -16,7 +16,7 @@ def start(args):
     # build
     # build
     subprocess.check_call("rm -rf bin obj", shell=True, cwd=app)
     subprocess.check_call("rm -rf bin obj", shell=True, cwd=app)
     subprocess.check_call("xbuild /p:Configuration=Release", shell=True, cwd=app)
     subprocess.check_call("xbuild /p:Configuration=Release", shell=True, cwd=app)
-    subprocess.check_call("sudo chown -R ubuntu:ubuntu /usr/local/etc/mono", shell=True)
+    subprocess.check_call("sudo chown -R $USER:$USER /usr/local/etc/mono", shell=True)
     
     
     # nginx
     # nginx
     workers = 'worker_processes ' + str(args.max_threads) + ';'
     workers = 'worker_processes ' + str(args.max_threads) + ';'