From d3e728a1b0f7a415384deebee8bc5c5451cbf354 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 24 May 2008 16:12:57 +0000 Subject: [PATCH] merge changeset 9443 in branch --- system/TestPlc.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/system/TestPlc.py b/system/TestPlc.py index 6160262..b040030 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -280,10 +280,12 @@ class TestPlc: ### install def install(self): - # we need build dir for vtest-init-vserver if self.is_local(): # a full path for the local calls - build_dir=os.path.dirname(sys.argv[0])+"/build" + build_dir=os.path.dirname(sys.argv[0]) + # sometimes this is empty - set to "." in such a case + if not build_dir: build_dir="." + build_dir += "/build" else: # use a standard name - will be relative to remote buildname build_dir="build" -- 2.43.0