]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Add script runLightSalome.csh
authornds <nds@opencascade.com>
Thu, 3 Nov 2005 08:22:30 +0000 (08:22 +0000)
committernds <nds@opencascade.com>
Thu, 3 Nov 2005 08:22:30 +0000 (08:22 +0000)
Makefile.in
bin/runLightSalome.csh [new file with mode: 0755]

index e5878e475054a30c5e11fd07b1b2cb543fa6bfa1..41e9d3c718392117cd930e9a93ef1de6cc35b19b 100644 (file)
@@ -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 (executable)
index 0000000..39681ab
--- /dev/null
@@ -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