projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5641bf
)
doins: use mktemp for private files, bug #484332
author
Zac Medico
<zmedico@gentoo.org>
Mon, 9 Sep 2013 17:10:22 +0000
(10:10 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 9 Sep 2013 17:10:22 +0000
(10:10 -0700)
bin/ebuild-helpers/doins
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/doins
b/bin/ebuild-helpers/doins
index bdcef4883bd83415376814ff59108beb5bddbcde..c60e057894b5ac3624a0dede9ee73ac3f0a850c3 100755
(executable)
--- a/
bin/ebuild-helpers/doins
+++ b/
bin/ebuild-helpers/doins
@@
-49,7
+49,7
@@
else
PRESERVE_SYMLINKS=n
fi
-export TMP=$
T/.doins_tmp
+export TMP=$
(mktemp -d "${T}/.doins_tmp_XXXXXX")
# Use separate directories to avoid potential name collisions.
mkdir -p "$TMP"/{1,2}