From: uhz Date: Wed, 18 Jul 2018 13:15:52 +0000 (+0200) Subject: Good appliPath even if we launch Salome from a symbolic link X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=391469163260e24af71ad9333bcbcfd26f8cf9d1;p=modules%2Fkernel.git Good appliPath even if we launch Salome from a symbolic link --- 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)