diff options
author | 2014-05-24 09:02:04 +0200 | |
---|---|---|
committer | 2014-05-24 09:02:04 +0200 | |
commit | 4c3a9faded0b5cdce7bac51069759ae23dfa859f (patch) | |
tree | 2e0e5ba3e42ac7a9ef132731002cfb928662fa71 /modules | |
parent | Add "git" to EXTRAVERSION. (diff) | |
download | eselect-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.eselect | 2 |
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 |