1 |
commit: e6f03e5fb6c26f9ada7fabf25126a135f5ef1dbf |
2 |
Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 19:30:31 2015 +0000 |
4 |
Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 19:30:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e6f03e5f |
7 |
|
8 |
euse: Fix 'grep: Unmatched ( or \(' errors with euse -i |
9 |
|
10 |
bin/euse | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/bin/euse b/bin/euse |
14 |
index c3f9f24..56fc917 100755 |
15 |
--- a/bin/euse |
16 |
+++ b/bin/euse |
17 |
@@ -771,7 +771,7 @@ showdesc() { |
18 |
fi |
19 |
# Fetch all the packages data using this flag |
20 |
infos=$( grep -h ":${1} *-" ${PORTAGE_REPO_PATHS[@]/%//profiles/use.local.desc} 2> /dev/null \ |
21 |
- | sed -re "s/^([^:]+):(.*) *- *(.+)/\1|\2|\3/g") |
22 |
+ | sed -re "s/^([^:]+):(.*) *- *(.+)/\1|\2|\3/g") |
23 |
OIFS=$IFS; IFS=$'\n'; infos=($infos); IFS=$OIFS; |
24 |
for line in "${infos[@]}"; do |
25 |
OIFS=$IFS; IFS="|"; line=($line); IFS=$OIFS |