Browse Source

Fixed invalid paths in servicestack\setup.xsp.py

Kevin Pullin 12 years ago
parent
commit
0d6221e6f5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      servicestack/setup_xsp.py

+ 2 - 2
servicestack/setup_xsp.py

@@ -10,9 +10,9 @@ def start(args):
   setup_util.replace_text("servicestack/src/Web.config", "localhost", args.database_host)
   setup_util.replace_text("servicestack/src/Web.config", "localhost", args.database_host)
 
 
   try:
   try:
-    subprocess.check_call("rm -rf bin obj", shell=True, cwd="aspnet/src")
+    subprocess.check_call("rm -rf bin obj", shell=True, cwd="servicestack/src")
     subprocess.check_call("xbuild /p:Configuration=Release", shell=True, cwd="servicestack/src/Web.config")
     subprocess.check_call("xbuild /p:Configuration=Release", shell=True, cwd="servicestack/src/Web.config")
-    subprocess.Popen("xsp4 --nonstop", shell=True, cwd="servicestack/src/Web.config")
+    subprocess.Popen("xsp4 --nonstop", shell=True, cwd="servicestack/src")
     return 0
     return 0
   except subprocess.CalledProcessError:
   except subprocess.CalledProcessError:
     return 1
     return 1