From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1451637-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C374A158020
	for <garchives@archives.gentoo.org>; Sun, 30 Oct 2022 15:51:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B7CBDE091A;
	Sun, 30 Oct 2022 15:51:47 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9F6ACE091A
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Oct 2022 15:51:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A6100340E6C
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Oct 2022 15:51:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DFDE644
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Oct 2022 15:51:45 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1667145018.ee6a1856f04104e92fd1f45d28fa95c1a75c7b0e.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/cpio/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-arch/cpio/cpio-2.13-r3.ebuild
X-VCS-Directories: app-arch/cpio/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: ee6a1856f04104e92fd1f45d28fa95c1a75c7b0e
X-VCS-Branch: master
Date: Sun, 30 Oct 2022 15:51:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8c005664-93e1-4d87-9682-e8f2d1d2a1cb
X-Archives-Hash: a41cb518324d05542ae51c9e1bd3cd15

commit:     ee6a1856f04104e92fd1f45d28fa95c1a75c7b0e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 14:16:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 15:50:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6a1856

app-arch/cpio: Use --program-prefix=g to avoid mv

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/cpio/cpio-2.13-r3.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-arch/cpio/cpio-2.13-r3.ebuild b/app-arch/cpio/cpio-2.13-r3.ebuild
index c2b24b09a8a5..beb67c3491d2 100644
--- a/app-arch/cpio/cpio-2.13-r3.ebuild
+++ b/app-arch/cpio/cpio-2.13-r3.ebuild
@@ -34,6 +34,8 @@ src_configure() {
 		$(use_enable nls)
 		--bindir="${EPREFIX}"/bin
 		--with-rmt="${EPREFIX}"/usr/sbin/rmt
+		# install as gcpio for better compatibility with non-GNU userland
+		--program-prefix=g
 	)
 
 	econf "${myeconfargs[@]}"
@@ -41,10 +43,8 @@ src_configure() {
 
 src_install() {
 	default
-	# install as gcpio for better compatibility with non-GNU userland
-	# and make cpio as a symlink
-	mv "${ED}"/bin/{,g}cpio || die
+
+	# make cpio a symlink
 	dosym gcpio /bin/cpio
-	mv "${ED}"/usr/share/man/man1/{,g}cpio.1 || die
 	dosym gcpio.1 /usr/share/man/man1/cpio.1
 }