1 |
commit: 1d680e00176a356d41090d7493f99e85bb87ca59 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 02:12:03 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 29 02:12:30 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d680e00 |
7 |
|
8 |
sys-libs/musl: use short option for mktemp in ldconfig |
9 |
|
10 |
Since busybox's mktemp doesn't take the long options --tmpdir= |
11 |
we switch to the short option which works both for busybox and |
12 |
for coreutils. |
13 |
|
14 |
Package-Manager: portage-2.2.20.1 |
15 |
|
16 |
sys-libs/musl/files/ldconfig.in | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sys-libs/musl/files/ldconfig.in b/sys-libs/musl/files/ldconfig.in |
20 |
index a292190..19c94d8 100644 |
21 |
--- a/sys-libs/musl/files/ldconfig.in |
22 |
+++ b/sys-libs/musl/files/ldconfig.in |
23 |
@@ -136,7 +136,7 @@ LDSO_ARCH=$(basename $LDSO_PATH) |
24 |
LDSO_NAME=${LDSO_ARCH%.so.1} |
25 |
ETC_LDSO_PATH=/etc/${LDSO_NAME}.path |
26 |
|
27 |
-X=$(mktemp --tmpdir=/tmp ${LDSO_NAME}.XXXXXX) |
28 |
+X=$(mktemp -p /tmp ${LDSO_NAME}.XXXXXX) |
29 |
for d in $drs; do |
30 |
echo $d >> $X |
31 |
done |