summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-01-17 13:25:49 +0100
committerTom Smeding <tom@tomsmeding.com>2025-01-17 13:25:49 +0100
commit55722804df91d5cd379dffd6a14d02a502e6c16f (patch)
treeb7a1c3401b4ea2a7d2fcc569a51cffaeac24bc6f
parentdd86ad8e4c8a76a24c693ff23ac91ac250fa4ccf (diff)
Make the tmpdir identifiableHEADmaster
-rwxr-xr-xpathenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathenv b/pathenv
index 091deea..bbcb947 100755
--- a/pathenv
+++ b/pathenv
@@ -15,7 +15,7 @@ EOF
exit
fi
-tmpdir=$(mktemp -d)
+tmpdir=$(mktemp --tmpdir -d pathenv.XXXXXXXXXX)
trap 'rm -rf "$tmpdir"' EXIT
found_dashes=0