X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fcontents.py;fp=daklib%2Fcontents.py;h=f3077aab6487eede63f71341d01ede61fec16525;hb=f74884ed707584673bc2066427fa94f3b348d065;hp=a5950524e274fef14f049f28426ac76da9725528;hpb=a51367ef46dc82b9bc44e88012c0ffb0880e0231;p=dak.git diff --git a/daklib/contents.py b/daklib/contents.py index a5950524..f3077aab 100755 --- a/daklib/contents.py +++ b/daklib/contents.py @@ -441,7 +441,8 @@ class UnpackedSource(object): ''' The dscfilename is a name of a DSC file that will be extracted. ''' - self.root_directory = os.path.join(mkdtemp(), 'root') + temp_directory = mkdtemp(dir = Config()['Dir::TempPath']) + self.root_directory = os.path.join(temp_directory, 'root') command = ('dpkg-source', '--no-copy', '--no-check', '-q', '-x', dscfilename, self.root_directory) check_call(command, preexec_fn = subprocess_setup)