commit:     1d680e00176a356d41090d7493f99e85bb87ca59
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 02:12:03 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 02:12:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d680e00

sys-libs/musl: use short option for mktemp in ldconfig

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/musl/files/ldconfig.in b/sys-libs/musl/files/ldconfig.in
index a292190..19c94d8 100644
--- 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

Reply via email to