From a6a97a65fd7825d647ad93e567101adff77f49bf Mon Sep 17 00:00:00 2001 From: Ray Culbertson Date: Mon, 2 Oct 2023 16:49:38 -0500 Subject: [PATCH] fix parse bug --- bin/jenkinsMusingBuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/jenkinsMusingBuild.sh b/bin/jenkinsMusingBuild.sh index 71a832e..437a184 100755 --- a/bin/jenkinsMusingBuild.sh +++ b/bin/jenkinsMusingBuild.sh @@ -84,7 +84,7 @@ if [ $NMATCHES -gt 1 ]; then fi DEPS=$( cat MuseConfig/musing/$MUSING | sed 's/#.*$//' | - awk -v t=$VERSION '{if($1==t) { for(i=2;i<=NR; i++) print $i " "} }' ) + awk -v t=$VERSION '{if($1==t) { for(i=2;i<=NF; i++) printf "%s ", $i } }' ) echo "[$(date)] found dependecies $DEPS"