diff --git a/bootstrap.sh b/bootstrap.sh index 4ba66e8..f6c9165 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -102,7 +102,7 @@ build-home() { # Clone our repo into a temporary directory log "Cloning repository into temporary directory" - local tmpdir="$(mktemp -d "tmp.$USER.$_name.XXXXXXXX")" + local tmpdir="$(mktemp -d "tmp.$USER.$_name.XXXXXXXX" -p "/tmp")" trap "cleanup $tmpdir" EXIT pushd "$tmpdir" > /dev/null 2>&1 log "Cloning into temporary directory: $tmpdir" 2