diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-06 08:48:19 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-06 08:48:19 +0000 |
commit | 99a757068207bb9c745dd913a30ba5a560ceb998 (patch) | |
tree | 7f6ec3782e1ff08c4dc1317c0811a0cddd24a6ba | |
parent | eb0eb5b2910d643fd4a2cdd36c67941aa775ac54 (diff) | |
parent | 43c86554458ce4498ab94acb70e4779e465e0ca2 (diff) | |
download | subplot-99a757068207bb9c745dd913a30ba5a560ceb998.tar.gz |
Merge branch 'main' into 'main'
fix: Remove double newline from bash envnames
See merge request subplot/subplot!197
-rw-r--r-- | share/bash/template/template.sh.tera | 2 |
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, |