minor fix
authorTony Mack <tmack@cs.princeton.edu>
Fri, 18 Apr 2008 16:48:05 +0000 (16:48 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 18 Apr 2008 16:48:05 +0000 (16:48 +0000)
system/TestPlc.py

index 9b09525..db8abb6 100644 (file)
@@ -289,7 +289,7 @@ class TestPlc:
         # we need build dir for vtest-init-vserver
         if self.is_local():
             # a full path for the local calls
-            build_dir=os.path(sys.argv[0])+"/build"
+            build_dir=os.path.dirname(sys.argv[0])+"/build"
         else:
             # use a standard name - will be relative to HOME 
             build_dir="options.buildname"