commit:     bf434e3140d48425fc66ad468d8074b0168f3392
Author:     jinqiang zhang <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Fri Nov 22 06:09:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 15:26:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf434e31

sys-apps/arch-chroot: fix VariableOrderWrong warning

Signed-off-by: jinqiang zhang <peeweep <AT> 0x0.ee>
Closes: https://github.com/gentoo/gentoo/pull/39408
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/arch-chroot/arch-chroot-28.ebuild | 3 +--
 sys-apps/arch-chroot/arch-chroot-29.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-apps/arch-chroot/arch-chroot-28.ebuild 
b/sys-apps/arch-chroot/arch-chroot-28.ebuild
index e72e46b48b42..a6a7e6970408 100644
--- a/sys-apps/arch-chroot/arch-chroot-28.ebuild
+++ b/sys-apps/arch-chroot/arch-chroot-28.ebuild
@@ -9,14 +9,13 @@ DESCRIPTION="Wraps the chroot command while ensuring that 
important filesystems
 HOMEPAGE="https://github.com/archlinux/arch-install-scripts";
 
SRC_URI="https://github.com/archlinux/arch-install-scripts/archive/refs/tags/v${PV}.tar.gz
 -> arch-install-scripts-v${PV}.tar.gz"
 
+S="${WORKDIR}/arch-install-scripts-${PV}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 BDEPEND="app-text/asciidoc"
 
-S="${WORKDIR}/arch-install-scripts-${PV}"
-
 src_compile() {
        emake MANS="doc/arch-chroot.8" BINPROGS="arch-chroot"
 }

diff --git a/sys-apps/arch-chroot/arch-chroot-29.ebuild 
b/sys-apps/arch-chroot/arch-chroot-29.ebuild
index 47e9e841f750..977b7d7aa688 100644
--- a/sys-apps/arch-chroot/arch-chroot-29.ebuild
+++ b/sys-apps/arch-chroot/arch-chroot-29.ebuild
@@ -9,14 +9,13 @@ DESCRIPTION="Wraps the chroot command while ensuring that 
important filesystems
 HOMEPAGE="https://gitlab.archlinux.org/archlinux/arch-install-scripts";
 
SRC_URI="https://gitlab.archlinux.org/archlinux/arch-install-scripts/-/archive/v${PV}/arch-install-scripts-v${PV}.tar.bz2";
 
+S="${WORKDIR}/arch-install-scripts-v${PV}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 
 BDEPEND="app-text/asciidoc"
 
-S="${WORKDIR}/arch-install-scripts-v${PV}"
-
 src_compile() {
        emake MANS="doc/arch-chroot.8" BINPROGS="arch-chroot"
 }

Reply via email to