projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f53b8
)
sys-libs/musl: use short option for mktemp in ldconfig
author
Anthony G. Basile
<blueness@gentoo.org>
Sun, 29 Nov 2015 02:12:03 +0000
(21:12 -0500)
committer
Anthony G. Basile
<blueness@gentoo.org>
Sun, 29 Nov 2015 02:12:30 +0000
(21:12 -0500)
Since busybox's mktemp doesn't take the long options --tmpdir=
we switch to the short option which works both for busybox and
for coreutils.
Package-Manager: portage-2.2.20.1
sys-libs/musl/files/ldconfig.in
patch
|
blob
|
history
diff --git
a/sys-libs/musl/files/ldconfig.in
b/sys-libs/musl/files/ldconfig.in
index a2921903c32c7d09fd4c18967ab8062ff157cfc4..19c94d85353a3c90279773e1d99ad6100bd80c1e 100644
(file)
--- a/
sys-libs/musl/files/ldconfig.in
+++ b/
sys-libs/musl/files/ldconfig.in
@@
-136,7
+136,7
@@
LDSO_ARCH=$(basename $LDSO_PATH)
LDSO_NAME=${LDSO_ARCH%.so.1}
ETC_LDSO_PATH=/etc/${LDSO_NAME}.path
-X=$(mktemp -
-tmpdir=
/tmp ${LDSO_NAME}.XXXXXX)
+X=$(mktemp -
p
/tmp ${LDSO_NAME}.XXXXXX)
for d in $drs; do
echo $d >> $X
done