diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-09-29 16:28:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 16:28:32 +0200 |
commit | 9d39a1bf42806f10ccee9b5e57444d941b02c546 (patch) | |
tree | 2c8ff82261d995f45cb13f739bd366da4f80adf3 /lib | |
parent | 11278dd55acf7babf8991161df841ba46ceaa7d7 (diff) | |
download | spack-9d39a1bf42806f10ccee9b5e57444d941b02c546.tar.gz spack-9d39a1bf42806f10ccee9b5e57444d941b02c546.tar.bz2 spack-9d39a1bf42806f10ccee9b5e57444d941b02c546.tar.xz spack-9d39a1bf42806f10ccee9b5e57444d941b02c546.zip |
Un-unset TERM and DISPLAY (#26326)
For interactive `spack build-env`'s this is undesired behavior
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 82baaee256..918ae02c50 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -173,10 +173,6 @@ def clean_environment(): # Affects GNU make, can e.g. indirectly inhibit enabling parallel build env.unset('MAKEFLAGS') - # Could make testsuites attempt to color their output - env.unset('TERM') - # Tests of GUI widget libraries might try to connect to an X server - env.unset('DISPLAY') # Avoid that libraries of build dependencies get hijacked. env.unset('LD_PRELOAD') |