Skip to content

Commit

Permalink
fix parse bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rlcee committed Oct 2, 2023
1 parent 2f3f8e8 commit a6a97a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jenkinsMusingBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a6a97a6

Please sign in to comment.