summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-15 11:00:32 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-15 12:32:45 +0200
commitd2ef4692cb1c0581ee0df451267e8a6a8fa7b45d (patch)
tree30c2b32e3eddd747c700910711e865660d92ab6a /sys-devel/multilib-gcc-wrapper
parentsys-devel/multilib-gcc-wrapper: Remove unused function (diff)
downloadgentoo-d2ef4692cb1c0581ee0df451267e8a6a8fa7b45d.tar.gz
gentoo-d2ef4692cb1c0581ee0df451267e8a6a8fa7b45d.tar.bz2
gentoo-d2ef4692cb1c0581ee0df451267e8a6a8fa7b45d.zip
sys-devel/multilib-gcc-wrapper: Use newbin with stdin input
Diffstat (limited to 'sys-devel/multilib-gcc-wrapper')
-rw-r--r--sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild b/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild
index bb6a4ab89c7..7bd51a6797f 100644
--- a/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild
+++ b/sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0-r2.ebuild
@@ -46,12 +46,10 @@ src_install() {
einfo " ${newname}"
- cat > "${T}"/wrapper <<-_EOF_
+ newbin - "${newname}" <<-_EOF_
#!${EPREFIX}/bin/sh
exec ${e} $(get_abi_CFLAGS) "\${@}"
_EOF_
-
- newbin "${T}"/wrapper "${newname}"
done
done
done