Skip to content

Commit 6ac0495

Browse files
committed
🧽 Fix awk env parser: strip trailing garbage from default values cleanly
1 parent df7d64f commit 6ac0495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ $(ENV):
148148
if (!value) { \
149149
split($$2, parts, /:-/); \
150150
if (length(parts) > 1) { \
151-
sub(/\"*}\"$$/, "", parts[2]); \
151+
gsub(/[{}"]/,"", parts[2]); \
152152
value = parts[2]; \
153153
} \
154154
} \

0 commit comments

Comments
 (0)