summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-31 06:09:32 +0100
committerSam James <sam@gentoo.org>2022-07-31 07:16:28 +0100
commitb54a869bfc0a823a5ce5db453847ee883bc34896 (patch)
tree9453528311f0d61c3ba2b611e3f306521a6332ad /eclass
parentwww-client/chromium: drop unnecessary 'shopt -s extglob' (diff)
downloadgentoo-b54a869bfc0a823a5ce5db453847ee883bc34896.tar.gz
gentoo-b54a869bfc0a823a5ce5db453847ee883bc34896.tar.bz2
gentoo-b54a869bfc0a823a5ce5db453847ee883bc34896.zip
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@gentoo.org> Thanks-to: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/chromium-2.eclass4
1 files 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"