From 68dd05a410ac82501f87b641ab6ab033addd9955 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Jun 2013 14:24:08 +0000 Subject: [PATCH] enable running without "APPLI" env var --- bin/runSalome.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index 60e4de11b..44a9693da 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -926,7 +926,9 @@ if __name__ == "__main__": homePath = os.path.realpath(os.path.expanduser('~')) #defaultOmniorbUserPath = os.path.join(homePath, ".salomeConfig/USERS") appli = os.getenv("APPLI") - defaultOmniorbUserPath = os.path.join(homePath, appli, "USERS") + defaultOmniorbUserPath = homePath + if appli: + defaultOmniorbUserPath = os.path.join( homePath, appli, "USERS" ) os.environ["OMNIORB_USER_PATH"] = defaultOmniorbUserPath ############ -- 2.39.2