summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-11-28 21:12:03 -0500
committerAnthony G. Basile <blueness@gentoo.org>2015-11-28 21:12:30 -0500
commit1d680e00176a356d41090d7493f99e85bb87ca59 (patch)
treedcea8ab57d702019fcba2e0e6e5e574fe0ee1488 /sys-libs
parentwww-client/google-chrome-beta: automated update (diff)
downloadgentoo-1d680e00176a356d41090d7493f99e85bb87ca59.tar.gz
gentoo-1d680e00176a356d41090d7493f99e85bb87ca59.tar.bz2
gentoo-1d680e00176a356d41090d7493f99e85bb87ca59.zip
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
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/musl/files/ldconfig.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-libs/musl/files/ldconfig.in b/sys-libs/musl/files/ldconfig.in
index a2921903c32c..19c94d85353a 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