From: nds Date: Thu, 3 Nov 2005 08:22:30 +0000 (+0000) Subject: Add script runLightSalome.csh X-Git-Tag: V3_1_0a3~67 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1165ad15bb4bc269848c844d1214a748ebc7c7b9;p=modules%2Fgui.git Add script 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