Lines 815-821
Link Here
|
815 |
fi |
815 |
fi |
816 |
# Fetch all the packages data using this flag |
816 |
# Fetch all the packages data using this flag |
817 |
infos=$( grep -h ":${1} *-" ${ALL_PORTDIRS[@]/%//profiles/use.local.desc} 2> /dev/null \ |
817 |
infos=$( grep -h ":${1} *-" ${ALL_PORTDIRS[@]/%//profiles/use.local.desc} 2> /dev/null \ |
818 |
| sed -re "s/^([^:]+):(.*) *- *(.+)/\1|\2|\3/g") |
818 |
| sed -re "s/^([^:]+):([^ ]*) *- *(.+)/\1|\2|\3/g") |
819 |
OIFS=$IFS; IFS=$'\n'; infos=($infos); IFS=$OIFS; |
819 |
OIFS=$IFS; IFS=$'\n'; infos=($infos); IFS=$OIFS; |
820 |
for line in "${infos[@]}"; do |
820 |
for line in "${infos[@]}"; do |
821 |
OIFS=$IFS; IFS="|"; line=($line); IFS=$OIFS |
821 |
OIFS=$IFS; IFS="|"; line=($line); IFS=$OIFS |