Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V7_5_BR'
[modules/kernel.git]
/
bin
/
runSalome.py
diff --git
a/bin/runSalome.py
b/bin/runSalome.py
index da1c5694681cc92206d4351673d76bec3c0732d1..73a8b0df2037ff8f122adaf16decccb4dac15a82 100755
(executable)
--- a/
bin/runSalome.py
+++ b/
bin/runSalome.py
@@
-1,6
+1,6
@@
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-760,7
+760,7
@@
def useSalome(args, modules_list, modules_root_dir):
def execScript(script_path):
print 'executing', script_path
def execScript(script_path):
print 'executing', script_path
- sys.path.insert(0, os.path.
dirname(script_path
))
+ sys.path.insert(0, os.path.
realpath(os.path.dirname(script_path)
))
execfile(script_path,globals())
del sys.path[0]
execfile(script_path,globals())
del sys.path[0]