Commit 7982241d authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Emanuele Aina

Follow TMPDIR environment variable

For usage in CI (among other things) it can be rather usefull to direct
the build-snapshot temporary directory location to e.g. the jobs
workspace such that the central /tmp can't be filled up.
Signed-off-by: Sjoerd Simons's avatarSjoerd Simons <>
Reviewed-by: Emanuele Aina's avatarEmanuele Aina <>
Differential Revision:
parent 70f6094c
......@@ -178,8 +178,8 @@ class SnapshotBuilder:
def main(self):
"""Main function: build the snapshot.
tmpdir = self.capture(['mktemp', '-d',
tmpdir = self.capture(['mktemp', '-d', '--tmpdir=',
self.srcdir = tmpdir + '/s'
if self.args.builder == 'localhost':
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment