From: vsr Date: Fri, 29 Apr 2005 11:37:34 +0000 (+0000) Subject: Update for version 2.2.3 X-Git-Tag: V_2_2_3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be4bba1fe33032ad6dd8a3c727cc2d0015519060;p=tools%2Finstall.git Update for version 2.2.3 --- diff --git a/config_files/build.csh b/config_files/build.csh index d768ce7..5052945 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -236,7 +236,7 @@ foreach module (${modules}) ######################################################### set vx="" if ( -e ${module_src}/bin/VERSION ) then - set vx=`awk -F: '{split ( $2,x," " ) ; print x[1];}' ${module_src}/bin/VERSION` + set vx=`awk -F: '{ if (NF > 1) print $NF; }' ${module_src}/bin/VERSION | tr -d '[:space:]'` endif set px=${BUILD_DIR}/${module} if ( "$prefix" != "" ) then