From 52172b2065f413773eb52f78942889b5fb51e2e7 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 24 Nov 2006 10:30:16 +0000 Subject: [PATCH] Fix bug : if relative filename or directory is used it is not found by runInstall script --- runInstall | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/runInstall b/runInstall index f5cf6d6..f2b6c48 100755 --- a/runInstall +++ b/runInstall @@ -860,10 +860,13 @@ def get_tmp_dir(dir): #------------------------------------------------------------------# if __name__ == "__main__": - # get program dir - cur_dir = get_program_path() # parse command line [xml_file, target_dir, tmp_dir, is_gui] = parse_parameters() + if xml_file: xml_file = os.path.abspath(xml_file) + if target_dir: target_dir = os.path.abspath(target_dir) + if tmp_dir: tmp_dir = os.path.abspath(tmp_dir) + # get program dir + cur_dir = get_program_path() # define xml file to be used if (xml_file is None): -- 2.39.2