Salome HOME
projects
/
samples
/
pyhello.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PAL13183: correct environment variables in custom SALOME launching script (runAppli)
[samples/pyhello.git]
/
bin
/
runAppli.in
diff --git
a/bin/runAppli.in
b/bin/runAppli.in
index 3a1e9bbdac60954650bdfef8ee5c52652742bac4..cde6cf2c87561723003e3e7443b55fc9c36bcadb 100755
(executable)
--- a/
bin/runAppli.in
+++ b/
bin/runAppli.in
@@
-1,7
+1,11
@@
#!/bin/sh
+if [ -z "${KERNEL_ROOT_DIR}" ] ; then
export KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@
+fi
+if [ -z "${PYHELLO_ROOT_DIR}" ] ; then
export PYHELLO_ROOT_DIR=@prefix@
+fi
searchFreePort() {
echo -n "Searching for a free port for naming service: "