diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-10 10:42:04 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-10 10:42:04 +0000 |
commit | 17d4645defa207457022756a2903113b6b6bfbc6 (patch) | |
tree | 1c6d7e34e664e1375386b62b0001a8a657ea22b6 /morph | |
parent | b2b8d7b903fb146409be9d62391c64b83b3d7c88 (diff) | |
download | morph-17d4645defa207457022756a2903113b6b6bfbc6.tar.gz |
Use $TMPDIR for --tempdir by default, rather than hard-coding /tmp.
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,8 +44,8 @@ class Morph(cliapp.Application): 'put build results in DIR (default: %default)', metavar='DIR', default='.') self.settings.string(['tempdir'], - 'temporary to use for builds', - metavar='DIR', default='/tmp') + 'temporary directory to use for builds', + metavar='DIR', default=os.environ.get('TMPDIR')) self.settings.boolean(['no-ccache'], 'do not use ccache') self.settings.boolean(['no-distcc'], 'do not use distcc') self.settings.integer(['max-jobs'], |