Use internal bash reader.

This commit is contained in:
Chmouel Boudjnah 2011-11-14 22:16:11 +01:00
parent f990ded567
commit 2d1a8b3414

View file

@ -400,7 +400,7 @@ function get_packages() {
OIFS=$IFS
IFS=$'\n'
for line in $(cat ${fname}); do
for line in $(<${fname}); do
if [[ $line =~ "NOPRIME" ]]; then
continue
fi