summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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