From c603d8cda233f484f2926b081ccc4a3d9abda09f Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 9 Dec 2005 14:49:00 +0000 Subject: [PATCH] duplicate the runLightSalome.sh in addition to .csh --- Makefile.in | 3 ++- bin/runLightSalome.sh | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 bin/runLightSalome.sh diff --git a/Makefile.in b/Makefile.in index 41e9d3c71..989c6a476 100644 --- a/Makefile.in +++ b/Makefile.in @@ -75,7 +75,8 @@ uc_clear.png \ channel.cfg \ BIN_SCRIPT= VERSION \ -runLightSalome.csh +runLightSalome.csh \ +runLightSalome.sh # copy header files in common directory OWN_CONFIG_H=@OWN_CONFIG_H@ diff --git a/bin/runLightSalome.sh b/bin/runLightSalome.sh new file mode 100755 index 000000000..f99a8125f --- /dev/null +++ b/bin/runLightSalome.sh @@ -0,0 +1,14 @@ +#!/bin/bash -f + +if [ -z "$SUITRoot" ] ; then + export SUITRoot=${GUI_ROOT_DIR}/share/salome +fi +# this variable necessary for loading .ini or .xml file +if [ -z "$LightAppConfig" ] ; then + export LightAppConfig=${GUI_ROOT_DIR}/share/salome/resources +fi +if [ -z "$LightAppResources" ] ; then + export LightAppResources=${GUI_ROOT_DIR}/share/salome/resources +fi + +SUITApp LightApp -style salome $* & -- 2.39.2