1 |
commit: 4c3a9faded0b5cdce7bac51069759ae23dfa859f |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 24 07:02:04 2014 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 24 07:02:04 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=4c3a9fad |
7 |
|
8 |
Fix bash 4.3 breakage. |
9 |
|
10 |
* modules/profile.eselect (get_repos): Fix bash 4.3 breakage, |
11 |
bug 511132. |
12 |
|
13 |
--- |
14 |
ChangeLog | 5 +++++ |
15 |
modules/profile.eselect | 2 +- |
16 |
2 files changed, 6 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/ChangeLog b/ChangeLog |
19 |
index d9dd9fd..b7f4a0d 100644 |
20 |
--- a/ChangeLog |
21 |
+++ b/ChangeLog |
22 |
@@ -1,3 +1,8 @@ |
23 |
+2014-05-24 Ulrich Müller <ulm@g.o> |
24 |
+ |
25 |
+ * modules/profile.eselect (get_repos): Fix bash 4.3 breakage, |
26 |
+ bug 511132. |
27 |
+ |
28 |
2014-05-20 Ulrich Müller <ulm@g.o> |
29 |
|
30 |
* bin/Makefile.am (dosed): |
31 |
|
32 |
diff --git a/modules/profile.eselect b/modules/profile.eselect |
33 |
index 3bd5408..94aed2b 100644 |
34 |
--- a/modules/profile.eselect |
35 |
+++ b/modules/profile.eselect |
36 |
@@ -33,7 +33,7 @@ get_repos() { |
37 |
portageq get_repos "${EROOT:-/}" \ |
38 |
| sed "s/[[:space:]]\+/\n/g;s/^${DEFAULT_REPO}\$/ &/gm" \ |
39 |
| LC_ALL=C sort |
40 |
- [[ -z ${PIPESTATUS[@]#0} ]] |
41 |
+ [[ "${PIPESTATUS[*]}" = "0 0 0" ]] |
42 |
} |
43 |
|
44 |
# get paths for a given list of repositories |