diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-08-17 21:41:19 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-08-17 21:41:19 +0200 |
commit | 6547dcde2a37179f98cc9a8702bc15a2fd1e6a4b (patch) | |
tree | fb0dd428a1ea3591d61d719e28d41bd3a3cd05bd /scripts | |
parent | 7aa36ae79673d89e120a97a3c6fd9fbb46ea9da1 (diff) |
Use plain mktemp
This fixes the case where $TMPDIR doesn't end in a slash.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install-multi-user.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index a9f3e74dc..7c8e159b5 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -349,7 +349,7 @@ _sudo() { } -readonly SCRATCH=$(mktemp -d "${TMPDIR:-/tmp/}tmp.XXXXXXXXXX") +readonly SCRATCH=$(mktemp -d) finish_cleanup() { rm -rf "$SCRATCH" } |