Revert previous. it shouldn't have an effect.

$$ should make it sufficiently unique.
This commit is contained in:
maya 2016-10-19 09:51:38 +00:00
parent f29e21f79a
commit 57f1116306
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ do
# is incompatible with FreeBSD 'install' when (umask & 300) != 0. # 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 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
if (umask $mkdir_umask && if (umask $mkdir_umask &&