summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2021-08-06 09:30:06 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2021-08-06 09:30:06 +0100
commit43c86554458ce4498ab94acb70e4779e465e0ca2 (patch)
tree7f6ec3782e1ff08c4dc1317c0811a0cddd24a6ba /share
parenteb0eb5b2910d643fd4a2cdd36c67941aa775ac54 (diff)
downloadsubplot-43c86554458ce4498ab94acb70e4779e465e0ca2.tar.gz
fix: Remove double newline from bash envnames
This doesn't materially change behaviour because words split the same but it's unintentional and against the described behaviour.
Diffstat (limited to 'share')
-rw-r--r--share/bash/template/template.sh.tera2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/bash/template/template.sh.tera b/share/bash/template/template.sh.tera
index 0e67c4e..6ee88f5 100644
--- a/share/bash/template/template.sh.tera
+++ b/share/bash/template/template.sh.tera
@@ -158,7 +158,7 @@ scenario_{{ loop.index }}() {
# contains newlines.
envnames()
{
- env -0 | sed -z 's/^\([^=]\+\)=.*$/\1\n/' | tr '\0' '\n'
+ env -0 | sed -z 's/^\([^=]\+\)=.*$/\1/' | tr '\0' '\n'
}
# Unset all environment variables. At the beginning of each scenario,