Skip to content
Snippets Groups Projects
Commit f8164e79 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(envsubst): leave lines with '# nosubst' unchanged when substituting (used to be simply dropped)

Fixes #50
parent 12efd382
No related branches found
No related tags found
No related merge requests found
...@@ -449,7 +449,11 @@ stages: ...@@ -449,7 +449,11 @@ stages:
} }
return enc return enc
} }
!/# *nosubst/ { /# *nosubst/ {
print $0
next
}
{
orig_line = $0 orig_line = $0
line = $0 line = $0
count_repl_in_line = 0 count_repl_in_line = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment