summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-11 10:21:21 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-06-11 10:21:21 +0100
commit3eb2264da672a9e11bf0836b1c7862cb75e782b8 (patch)
tree77c147b9b13a110532e9d4b5aebdb0c5691d3672 /morph
parent323ab665f415d7e27380f4e9f4845cdf2991d340 (diff)
downloadmorph-3eb2264da672a9e11bf0836b1c7862cb75e782b8.tar.gz
Do not force --tempdir setting into environment in runcmd
If a caller wants --tempdir to be set for a command, they should add it themselves. runcmd should not force this, because it breaks things for callers who don't want it, e.g., those who run command in a staging area (where the designated temporary directory does not exist).
Diffstat (limited to 'morph')
-rwxr-xr-xmorph2
1 files changed, 0 insertions, 2 deletions
diff --git a/morph b/morph
index 75998daa..3c05e11b 100755
--- a/morph
+++ b/morph
@@ -857,8 +857,6 @@ class Morph(cliapp.Application):
if 'env' not in kwargs:
kwargs['env'] = dict(os.environ)
- if self.settings['tempdir'] is not None:
- kwargs['env'].update(TMPDIR=self.settings['tempdir'])
# convert the command line arguments into a string
commands = [argv] + list(args)