]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
add warning BR_XDATA
authorcrouzet <crouzet>
Wed, 26 Oct 2005 12:22:17 +0000 (12:22 +0000)
committercrouzet <crouzet>
Wed, 26 Oct 2005 12:22:17 +0000 (12:22 +0000)
scripts/SA_build

index 40b618a156aba42ed00617cd2fa7311317a44cc3..5c1328afac18802ae37204617b7d7651f06a617f 100755 (executable)
@@ -20,7 +20,7 @@ usage()
     echo "               -> call build_configure in source directories"
     echo "               -> create build and install directories"
     echo "               -> call configure, make, make install from build directories"
-    echo "               -> update environment file"
+    echo "               -> update environment file (only sh syntax is supported)"
     echo
     echo Usage :
     echo
@@ -303,10 +303,6 @@ echo "Liste repertoire 
 echo "Options configure             : $OPTIONS_CONFIGURE"
 echo "Environment File              : $ENVIRON_FILE"
 echo
-echo
-echo
-echo
-echo
 
 if [ $ENVIRON_FILE ]  && [ -f $ENVIRON_FILE ]
 then
@@ -314,6 +310,9 @@ then
     cat ${ENVIRON_FILE} | sed "s/ENV_FOR_LAUNCH=1/ENV_FOR_LAUNCH=0/g" > ${ENVIRON_FILE}.tmp
     source ${ENVIRON_FILE}.tmp
     rm ${ENVIRON_FILE}.tmp
+    echo source Environment File with ENV_FOR_LAUNCH=0
+else
+    echo Warning : Environment File Not Found!
 fi
 
 LOCAL_DIR=`pwd`