commit: b54a869bfc0a823a5ce5db453847ee883bc34896
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 05:09:32 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 06:16:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54a869b
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 <ionen <AT> gentoo.org>
Thanks-to: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/chromium-2.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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"