diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-11 10:21:21 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-06-11 10:21:21 +0100 |
commit | 3eb2264da672a9e11bf0836b1c7862cb75e782b8 (patch) | |
tree | 77c147b9b13a110532e9d4b5aebdb0c5691d3672 /morph | |
parent | 323ab665f415d7e27380f4e9f4845cdf2991d340 (diff) | |
download | morph-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-x | morph | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) |