From be4bba1fe33032ad6dd8a3c727cc2d0015519060 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 29 Apr 2005 11:37:34 +0000 Subject: [PATCH] Update for version 2.2.3 --- config_files/build.csh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2