Commit eb9b52fa authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Improved env cleaning

parent 1a391f63
...@@ -72,11 +72,6 @@ prepared_by = spec.py script ...@@ -72,11 +72,6 @@ prepared_by = spec.py script
## just assuming: ## just assuming:
hw_fpu = Integrated hw_fpu = Integrated
sw_state = Multi-user sw_state = Multi-user
## cleaning environment
env_vars = 1
ENV_LANG=C
ENV_DISPLAY=
""" """
class SigKill(Exception): class SigKill(Exception):
...@@ -279,6 +274,6 @@ if __name__ == "__main__": ...@@ -279,6 +274,6 @@ if __name__ == "__main__":
fh.write(conf) fh.write(conf)
if options.config_only: if options.config_only:
exit(0) exit(0)
cmd = "bash -c 'source shrc && runspec all -c generated'" cmd = "env bash -l -c 'source shrc && runspec all -c generated'"
os.system(cmd) os.system(cmd)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment