From: akl Date: Wed, 15 Aug 2007 07:22:46 +0000 (+0000) Subject: A bit improvement. X-Git-Tag: IMP_BR_4~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=63ef60f5cc7568aa6818d6abdc4a4687bcfb7d43;p=tools%2Finstall.git A bit improvement. --- diff --git a/config_files/build.csh b/config_files/build.csh index 70e2b34..a378cf3 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -248,7 +248,7 @@ foreach module (${modules}) ######################################################### # call build_configure ######################################################### - if ( "${module}" == "MED" && $med_with_gui == 0 ) then + if ( $med_with_gui == 0 && "${module}" == "MED" ) then set add_keys="--without-ihm" endif cd ${module_src} @@ -325,7 +325,7 @@ foreach module (${modules}) if ( ! -e ${module_src}/configure ) then echo "\!\!\! Warning \!\!\! Can not find configure script in ${module_src}." else - if ( "${module}" == "MED" && $med_with_gui == 0 ) then + if ( $med_with_gui == 0 && "${module}" == "MED" ) then set add_keys="--without-ihm" endif if ( "${module}" == "NETGENPLUGIN" && ($?NETGENHOME) ) then diff --git a/config_files/build.sh b/config_files/build.sh index 1a0cbcf..c6fae3e 100755 --- a/config_files/build.sh +++ b/config_files/build.sh @@ -255,7 +255,7 @@ for module in ${modules}; do ######################################################### # call build_configure ######################################################### - if [ ${module} == "MED" ] && [ $med_with_gui -eq 0 ] ; then + if [ $med_with_gui -eq 0 ] && [ ${module} == "MED" ] ; then add_keys="--without-ihm" fi cd ${module_src} @@ -334,7 +334,7 @@ for module in ${modules}; do echo '!!! Warning !!! Can not find configure script in '${module_src}'.' echo else - if [ "${module}" == "MED" ] && [ $med_with_gui -eq 0 ] ; then + if [ $med_with_gui -eq 0 ] && [ "${module}" == "MED" ] ; then add_keys="--without-ihm" fi if [ "${module}" == "NETGENPLUGIN" ] && [ "$NETGENHOME" != "" ] ; then