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:
44273a8
)
Fix issue 0019952: problem with symbolic link creation
author
vsr
<vsr@opencascade.com>
Thu, 31 Jul 2008 04:02:27 +0000
(
04:02
+0000)
committer
vsr
<vsr@opencascade.com>
Thu, 31 Jul 2008 04:02:27 +0000
(
04:02
+0000)
bin/runSalome.py
patch
|
blob
|
history
diff --git
a/bin/runSalome.py
b/bin/runSalome.py
index 2a8aa66b19c6d9874be658a38aa3b675eb97e058..aae7d0dfa37d7fd53d50faa2a74db8f8b3401110 100755
(executable)
--- a/
bin/runSalome.py
+++ b/
bin/runSalome.py
@@
-793,7
+793,10
@@
def searchFreePort(args, save_config=1):
import shutil
shutil.copyfile(omniorb_config, last_running_config)
else:
- os.remove(last_running_config)
+ try:
+ os.remove(last_running_config)
+ except OSError:
+ pass
os.symlink(omniorb_config, last_running_config)
pass
pass