Commit 17ec5a57 authored by Jérome Perrin's avatar Jérome Perrin

Revert "Also set TMPDIR and TEMP environment variables"

This reverts commit daa833ea.
parent ba793c61
This diff is collapsed.
...@@ -143,10 +143,7 @@ class Recipe(object): ...@@ -143,10 +143,7 @@ class Recipe(object):
# environment. # environment.
for key in self.environ: for key in self.environ:
self.environ[key] = self.environ[key] % os.environ self.environ[key] = self.environ[key] % os.environ
self.environ['TMP'] = os.path.join(options['default-location'], 'tmp')
# Always define TMPDIR, TEMP and TMP
for key in ('TMPDIR', 'TEMP', 'TMP'):
self.environ[key] = os.path.join(options['default-location'], 'tmp')
def augmented_environment(self): def augmented_environment(self):
"""Returns a dictionary containing the current environment variables """Returns a dictionary containing the current environment variables
......
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