aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-05-24 09:02:04 +0200
committerUlrich Müller <ulm@gentoo.org>2014-05-24 09:02:04 +0200
commit4c3a9faded0b5cdce7bac51069759ae23dfa859f (patch)
tree2e0e5ba3e42ac7a9ef132731002cfb928662fa71 /modules
parentAdd "git" to EXTRAVERSION. (diff)
downloadeselect-4c3a9faded0b5cdce7bac51069759ae23dfa859f.tar.gz
eselect-4c3a9faded0b5cdce7bac51069759ae23dfa859f.tar.bz2
eselect-4c3a9faded0b5cdce7bac51069759ae23dfa859f.zip
Fix bash 4.3 breakage.
* modules/profile.eselect (get_repos): Fix bash 4.3 breakage, bug 511132.
Diffstat (limited to 'modules')
-rw-r--r--modules/profile.eselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile.eselect b/modules/profile.eselect
index 3bd5408..94aed2b 100644
--- a/modules/profile.eselect
+++ b/modules/profile.eselect
@@ -33,7 +33,7 @@ get_repos() {
portageq get_repos "${EROOT:-/}" \
| sed "s/[[:space:]]\+/\n/g;s/^${DEFAULT_REPO}\$/ &/gm" \
| LC_ALL=C sort
- [[ -z ${PIPESTATUS[@]#0} ]]
+ [[ "${PIPESTATUS[*]}" = "0 0 0" ]]
}
# get paths for a given list of repositories