From: vsr Date: Tue, 15 Aug 2006 16:02:00 +0000 (+0000) Subject: PAL13183: correct environment variables in custom SALOME launching script (runAppli) X-Git-Tag: For_OCT_611 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8214c2a6bf358e1345d11277467ae1e894940632;hp=34fefdae808d3c112bc6c7aad6c6f913529e1a3b;p=samples%2Fpyhello.git PAL13183: correct environment variables in custom SALOME launching script (runAppli) --- diff --git a/bin/runAppli.in b/bin/runAppli.in index 3a1e9bb..cde6cf2 100755 --- 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: "