diff options
author | junwei <337560754@qq.com> | 2019-01-18 00:06:12 +0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-01-17 10:29:54 -0800 |
commit | 0180b4e4a4499878a01005b317c8cea431bbb5fa (patch) | |
tree | f88eadfc7325235440ca83803d5ca0c68fb8abb5 | |
parent | bin/socks5-server.py: fix PendingDeprecationWarning for asyncio.Task.current_... (diff) | |
download | portage-0180b4e4a4499878a01005b317c8cea431bbb5fa.tar.gz portage-0180b4e4a4499878a01005b317c8cea431bbb5fa.tar.bz2 portage-0180b4e4a4499878a01005b317c8cea431bbb5fa.zip |
ebuild.sh: fix try_source qa condition test
Fixes: 60ee4deefb70 ("Refactor bashrc scripts sourcing")
Closes: https://github.com/gentoo/portage/pull/400
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 978643af7..820db50ca 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -476,7 +476,7 @@ __try_source() { # If $- contains x, then tracing has already been enabled # elsewhere for some reason. We preserve it's state so as # not to interfere. - if [[ ${qa} ]]; then + if ! ${qa} ; then source "${1}" else __qa_source "${1}" |