Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser/build-aux Revert previous. it shouldn't have...



details:   https://anonhg.NetBSD.org/src/rev/fcc7518137a4
branches:  trunk
changeset: 818603:fcc7518137a4
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Oct 19 09:51:38 2016 +0000

description:
Revert previous. it shouldn't have an effect.
$$ should make it sufficiently unique.

diffstat:

 lib/librumpuser/build-aux/install-sh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 31fc8fdcd5cc -r fcc7518137a4 lib/librumpuser/build-aux/install-sh
--- a/lib/librumpuser/build-aux/install-sh      Wed Oct 19 09:45:25 2016 +0000
+++ b/lib/librumpuser/build-aux/install-sh      Wed Oct 19 09:51:38 2016 +0000
@@ -345,7 +345,7 @@
            # 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 &&



Home | Main Index | Thread Index | Old Index