From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 792F4138334 for ; Mon, 8 Apr 2019 02:52:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EA14E084A; Mon, 8 Apr 2019 02:52:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A21BE084A for ; Mon, 8 Apr 2019 02:52:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E3EC335C97 for ; Mon, 8 Apr 2019 02:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFAB35A1 for ; Mon, 8 Apr 2019 02:52:31 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1554690581.b86a3a0d6f91117377f3a339e61ff389eb3a25d1.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/qemu/qemu-9999.ebuild X-VCS-Directories: app-emulation/qemu/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: b86a3a0d6f91117377f3a339e61ff389eb3a25d1 X-VCS-Branch: master Date: Mon, 8 Apr 2019 02:52:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e11ad9d0-e80c-4886-a6c5-3674bf400d22 X-Archives-Hash: 6c336b7207adf37d3a3f5ac45312cc73 commit: b86a3a0d6f91117377f3a339e61ff389eb3a25d1 Author: Matthias Maier gentoo org> AuthorDate: Mon Apr 8 01:48:29 2019 +0000 Commit: Matthias Maier gentoo org> CommitDate: Mon Apr 8 02:29:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86a3a0d app-emulation/qemu: synchronize live ebuild Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthias Maier gentoo.org> app-emulation/qemu/qemu-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 69e36290636..dbfe40f3575 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -641,9 +641,11 @@ generate_initd() { sparc*) qcpu="sparc";; esac + # we use 'printf' here to be portable across 'sh' + # implementations: #679168 cat <>"${out}" if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then - echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register + printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register fi EOF