commit:     b6a31fd8d6ed8d7bf8b3ec7a36d78b5f9033a3b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  2 06:23:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 15:43:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a31fd8

sys-devel/gcc: fix variable references

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/gcc/gcc-10.2.1_pre9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/gcc/gcc-10.2.1_pre9999.ebuild 
b/sys-devel/gcc/gcc-10.2.1_pre9999.ebuild
index c185e457003..8154640a9a8 100644
--- a/sys-devel/gcc/gcc-10.2.1_pre9999.ebuild
+++ b/sys-devel/gcc/gcc-10.2.1_pre9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -23,7 +23,7 @@ src_prepare() {
        )
 
        for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/$p" || die
+               rm -v "${WORKDIR}/patch/${p}" || die
        done
 
        has_version '>=sys-libs/glibc-2.32-r1' && rm -v 
"${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch"

Reply via email to