diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-29 11:17:42 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-30 13:00:57 +0100 |
commit | 34817d54a193c6c0937ef3868f31d822e90aa740 (patch) | |
tree | 0c95d89292ea0b6f58a9be36529ede5adf4648db /morph | |
parent | 353242ae57b7b47f2bba38ea557c73dd9cacf72b (diff) | |
download | morph-34817d54a193c6c0937ef3868f31d822e90aa740.tar.gz |
morph.runcmd: set TMPDIR from --tempdir
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -860,6 +860,10 @@ class Morph(cliapp.Application): msg = kwargs['msg'] del kwargs['msg'] + if 'env' not in kwargs: + kwargs['env'] = dict(os.environ) + kwargs['env'].update(TMPDIR=self.settings['tempdir']) + # convert the command line arguments into a string commands = [argv] + list(args) for command in commands: |