From 57f1116306cc60976ec3f46f6cd1a9ae2d296bbe Mon Sep 17 00:00:00 2001 From: maya Date: Wed, 19 Oct 2016 09:51:38 +0000 Subject: [PATCH] Revert previous. it shouldn't have an effect. $$ should make it sufficiently unique. --- lib/librumpuser/build-aux/install-sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librumpuser/build-aux/install-sh b/lib/librumpuser/build-aux/install-sh index b1bb29843c84..377bb8687ffe 100755 --- a/lib/librumpuser/build-aux/install-sh +++ b/lib/librumpuser/build-aux/install-sh @@ -345,7 +345,7 @@ do # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) - tmpdir=$(mktemp -d -p ${TMPDIR:-/tmp}) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask &&