Ulrich Müller d2cb9490db 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>
2019-11-26 20:23:19 +01:00
2019-11-23 20:07:59 -05:00
2019-11-18 21:06:53 +01:00
2019-11-20 21:52:21 +07:00
2019-11-23 21:49:32 -05:00
2019-11-24 07:16:22 -05:00
2019-11-25 02:35:33 +01:00
2019-11-26 07:30:16 +01:00
2019-11-25 11:26:01 -06:00
2019-11-25 01:01:32 +01:00
2019-11-26 16:59:05 +02:00
2019-11-24 14:51:26 +01:00
2019-11-23 22:33:24 -05:00
2019-11-24 19:57:10 -05:00
2019-11-24 23:22:25 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%