summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
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 79e7a15..938509a 100644
--- a/share/bash/template/template.sh.tera
+++ b/share/bash/template/template.sh.tera
@@ -124,7 +124,7 @@ scenario_{{ loop.index }}() {
# contains newlines.
envnames()
{
- python3 -c 'import os, sys; sys.stdout.write("".join("%s\n" % key for key in os.environ))'
+ env -0 | sed -z 's/^\([^=]\+\)=.*$/\1\n/' | tr '\0' '\n'
}
# Unset all environment variables. At the beginning of each scenario,