Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4582c01
)
Good appliPath even if we launch Salome from a symbolic link
uhz/salome_launcher
author
uhz
<ulysse.humbert-gonzalez@opencascade.com>
Wed, 18 Jul 2018 13:15:52 +0000
(15:15 +0200)
committer
uhz
<ulysse.humbert-gonzalez@opencascade.com>
Wed, 18 Jul 2018 13:18:00 +0000
(15:18 +0200)
bin/appliskel/salome
patch
|
blob
|
history
diff --git
a/bin/appliskel/salome
b/bin/appliskel/salome
index 3bd95d620358848b8f3421dd74db4fe8e579cb42..e397ba801abe419de1e4f4f770122855019f4ccb 100755
(executable)
--- 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)