From b54a869bfc0a823a5ce5db453847ee883bc34896 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 31 Jul 2022 06:09:32 +0100 Subject: chromium-2.eclass: drop unnecessary 'shopt -s extglob' We don't need a subshell because of how is-flagq works. Noticed as a result of fallout from the bash change which led to us noticing 5e9a3926fd3e0e573f529fd6aefebba53e082f4a. Thanks-to: Ionen Wolkens Thanks-to: Kerin Millar Signed-off-by: Sam James --- eclass/chromium-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index bf509d8ff0f8..cd4495767e58 100644 --- a/eclass/chromium-2.eclass +++ b/eclass/chromium-2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: chromium-2.eclass @@ -122,7 +122,7 @@ chromium_pkg_die() { fi # Prevent user problems like bug #348235. - if ( shopt -s extglob; is-flagq '-g?(gdb)?([1-9])' ); then + if is-flagq '-g?(gdb)?([1-9])'; then ewarn ewarn "You have enabled debug info (i.e. -g or -ggdb in your CFLAGS/CXXFLAGS)." ewarn "This produces very large build files causes the linker to consume large" -- cgit v1.2.3-65-gdbad