From 1165ad15bb4bc269848c844d1214a748ebc7c7b9 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 3 Nov 2005 08:22:30 +0000 Subject: [PATCH] Add script runLightSalome.csh --- Makefile.in | 3 ++- bin/runLightSalome.csh | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 bin/runLightSalome.csh diff --git a/Makefile.in b/Makefile.in index e5878e475..41e9d3c71 100644 --- a/Makefile.in +++ b/Makefile.in @@ -74,7 +74,8 @@ uc_new.png \ uc_clear.png \ channel.cfg \ -BIN_SCRIPT= VERSION +BIN_SCRIPT= VERSION \ +runLightSalome.csh # copy header files in common directory OWN_CONFIG_H=@OWN_CONFIG_H@ diff --git a/bin/runLightSalome.csh b/bin/runLightSalome.csh new file mode 100755 index 000000000..39681ab07 --- /dev/null +++ b/bin/runLightSalome.csh @@ -0,0 +1,9 @@ +#!/bin/csh -f + +if ( ! $?SUITRoot ) setenv SUITRoot ${GUI_ROOT_DIR}/share/salome + +# this variable necessary for loading .ini or .xml file +if ( ! $?LightAppConfig ) setenv LightAppConfig ${GUI_ROOT_DIR}/share/salome/resources +if ( ! $?LightAppResources ) setenv LightAppResources ${GUI_ROOT_DIR}/share/salome/resources + +SUITApp LightApp $1 -- 2.39.2