From 391469163260e24af71ad9333bcbcfd26f8cf9d1 Mon Sep 17 00:00:00 2001 From: uhz Date: Wed, 18 Jul 2018 15:15:52 +0200 Subject: [PATCH] Good appliPath even if we launch Salome from a symbolic link --- bin/appliskel/salome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/appliskel/salome b/bin/appliskel/salome index 37430157e..c2ac938f9 100755 --- a/bin/appliskel/salome +++ b/bin/appliskel/salome @@ -20,7 +20,7 @@ def main(args): env_modules_option += "%s" % ','.join(env_modules) args.append(env_modules_option) - appliPath = os.path.realpath(os.path.dirname(os.path.abspath(__file__))) + appliPath = os.path.dirname(os.path.realpath(__file__)) proc = subprocess.Popen([os.path.join(appliPath, '.salome_run')] + args, close_fds=True) out, err = proc.communicate() sys.exit(proc.returncode) -- 2.39.2