diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-27 14:50:28 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-29 11:07:23 +0100 |
commit | ff1096d6442e1b4e1eccad428a3e380a826957ce (patch) | |
tree | e110503153251a49292ba525d30d856eb10d2648 /eclass | |
parent | bash-completion-r1.eclass: Die on pkg-config getter failure (diff) | |
download | gentoo-ff1096d6442e1b4e1eccad428a3e380a826957ce.tar.gz gentoo-ff1096d6442e1b4e1eccad428a3e380a826957ce.tar.bz2 gentoo-ff1096d6442e1b4e1eccad428a3e380a826957ce.zip |
bash-completion-r1.eclass: bashcomp_alias, always return on first failure
Return from bashcomp_alias on the first dosym failure if nonfatal is
used.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/bash-completion-r1.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass index 9877baa3fd7e..325769c548db 100644 --- a/eclass/bash-completion-r1.eclass +++ b/eclass/bash-completion-r1.eclass @@ -130,6 +130,7 @@ bashcomp_alias() { shift for f; do - dosym "${base}" "$(_bash-completion-r1_get_bashcompdir)/${f}" + dosym "${base}" "$(_bash-completion-r1_get_bashcompdir)/${f}" \ + || return done } |