This was copied from getfilevar but never used. Signed-off-by: James Le Cuirot <ch...@gentoo.org> --- eclass/linux-info.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 0f61381501442..c7950b4e22920 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: linux-info.eclass @@ -253,7 +253,7 @@ getfilevar() { # This is done with sed matching an expression only. If the variable is defined, # you will run into problems. See getfilevar for those cases. getfilevar_noexec() { - local ERROR basefname basedname mycat myARCH="${ARCH}" + local ERROR basefname basedname mycat ERROR=0 mycat='cat' -- 2.49.0