From 63ef60f5cc7568aa6818d6abdc4a4687bcfb7d43 Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 15 Aug 2007 07:22:46 +0000 Subject: [PATCH] A bit improvement. --- config_files/build.csh | 4 ++-- config_files/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2