summaryrefslogtreecommitdiff
path: root/eclass/estack.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-16 13:41:25 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-16 13:41:25 +0100
commitbc501129c389446f47e98f759f8bb140966240af (patch)
treebf34a7070cf1851b45f17eb6faed883ee2908b6f /eclass/estack.eclass
parentbb5caf02fffada276b5aa598b3b6faea88ca0784 (diff)
gentoo auto-resync : 16:06:2023 - 13:41:25
Diffstat (limited to 'eclass/estack.eclass')
-rw-r--r--eclass/estack.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/estack.eclass b/eclass/estack.eclass
index c0823adb03f7..d00c931e117d 100644
--- a/eclass/estack.eclass
+++ b/eclass/estack.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: estack.eclass
@@ -156,7 +156,7 @@ evar_pop() {
eshopts_push() {
# Save both "shopt" and "set -o" option sets, because otherwise
# restoring posix would disable expand_aliases by side effect. #662586
- estack_push eshopts "$(shopt -p -o) $(shopt -p)"
+ estack_push eshopts "$(shopt -p -o; shopt -p)"
if [[ $1 == -[su] ]] ; then
[[ $# -le 1 ]] && return 0
shopt "$@" || die "${FUNCNAME}: bad options to shopt: $*"