Skip to content

Commit 2e970e8

Browse files
committed
concurrent fix: generate full error string
This does appear to solve the current build breakage of issue #3
1 parent c8b4efb commit 2e970e8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

generate_errors.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ END {
2222
print "};"
2323
}
2424
/^[1-9]/ {
25-
print " { " \$1 ", FETCH_" \$2 ", \"" \$3 "\" },"
25+
msg=\$3
26+
for(x = 4; x <= NF; x++) {msg = msg " " \$x}
27+
print " { " \$1 ", FETCH_" \$2 ", \"" msg "\" },"
2628
}
2729
EOF
2830
echo "Created $TGT"
@@ -41,7 +43,9 @@ END {
4143
print "};"
4244
}
4345
/^[1-9]/ {
44-
print " { " \$1 ", FETCH_" \$2 ", \"" \$3 "\" },"
46+
msg=\$3
47+
for(x = 4; x <= NF; x++) {msg = msg " " \$x}
48+
print " { " \$1 ", FETCH_" \$2 ", \"" msg "\" },"
4549
}
4650
EOF
4751
echo "Created $TGT"

0 commit comments

Comments
 (0)