From: crouzet Date: Wed, 26 Oct 2005 12:22:17 +0000 (+0000) Subject: add warning X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_XDATA;p=tools%2Fhxx2salome.git add warning --- diff --git a/scripts/SA_build b/scripts/SA_build index 40b618a..5c1328a 100755 --- a/scripts/SA_build +++ b/scripts/SA_build @@ -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`