Avoid failing on package lists fails that have no newline at the end.

This commit is contained in:
Daniel Baumann 2013-06-24 15:06:53 +02:00
parent 57d26a0758
commit 1807e40dd3
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ Expand_packagelist ()
continue
fi
while read _LB_LINE
printf "$(cat ${_LB_LIST_LOCATION})\n" | while read _LB_LINE
do
case "${_LB_LINE}" in
\!*)
@ -115,6 +115,6 @@ Expand_packagelist ()
;;
esac
done < "${_LB_LIST_LOCATION}"
done
done
}