From 1579d06380dc07dd7d8e049d27e14cc52584b070 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 22 Jan 2020 00:30:12 +0100 Subject: [PATCH] use tempdir(..., TMPDIR => 1) instead of tempdir(..., DIR => File::Spec->tmpdir) --- mmdebstrap | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 89a4323..52d386c 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -3446,8 +3446,7 @@ sub main() { } # since the output is a tarball, we create the rootfs in a temporary # directory - $options->{root} - = tempdir('mmdebstrap.XXXXXXXXXX', DIR => File::Spec->tmpdir); + $options->{root} = tempdir('mmdebstrap.XXXXXXXXXX', TMPDIR => 1); info "using $options->{root} as tempdir"; # in unshare and root mode, other users than the current user need to # access the rootfs, most prominently, the _apt user. Thus, make the