From b151ad65d1d61e5d466f83556f1c2ce18bb39fa4 Mon Sep 17 00:00:00 2001 From: crouzet Date: Wed, 26 Oct 2005 12:22:17 +0000 Subject: [PATCH] add warning --- scripts/SA_build | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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` -- 2.39.2