diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-11-23 11:18:18 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-11-26 20:23:19 +0100 |
commit | d2cb9490dbee48a32f196d1aa80d7356a99d9fd8 (patch) | |
tree | fcb073c0e19c78a4a1f0fc67472a9e16c33c19c4 /dev-java/jama | |
parent | profiles: Mask net-wireless/bcm43xx-fwcutter for removal (diff) | |
download | gentoo-d2cb9490dbee48a32f196d1aa80d7356a99d9fd8.tar.gz gentoo-d2cb9490dbee48a32f196d1aa80d7356a99d9fd8.tar.bz2 gentoo-d2cb9490dbee48a32f196d1aa80d7356a99d9fd8.zip |
estack.eclass: Properly restore shopt options.
Calling "eshopts_push; eshopts_pop" makes Portage report a QA issue:
* QA Notice: Global shell options changed and were not restored while calling 'src_prepare'
This is caused by some side effect in bash, by which disabling
the "posix" option (even if it was already disabled before) in a
non-interactive shell also disables the "expand_aliases" option.
Work around the problem by always saving and restoring both "set -o"
and "shopt" option sets.
Also fix "estack_push -s" which should not execute shopt when called
without further parameters.
Closes: https://bugs.gentoo.org/662586
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-java/jama')
0 files changed, 0 insertions, 0 deletions