bin/cubicweb-ctl.bat
branchstable
changeset 4096 871ff503c23e
parent 3116 8bf500eb01d6
child 5499 2a5cc708c2a0
--- a/bin/cubicweb-ctl.bat	Thu Dec 10 09:43:51 2009 +0100
+++ b/bin/cubicweb-ctl.bat	Thu Dec 10 11:35:40 2009 -0800
@@ -7,8 +7,10 @@
  
 """
 # -------------------- Python section --------------------
+import sys
+from os.path import join, dirname
+sys.path.insert(0, join(dirname(__file__), '..', '..'))
 from cubicweb.cwctl import run
-import sys
 run(sys.argv[1:])
 
 DosExitLabel = """