Avoid failing on package lists fails that have no newline at the end.
This commit is contained in:
parent
57d26a0758
commit
1807e40dd3
|
@ -37,7 +37,7 @@ Expand_packagelist ()
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while read _LB_LINE
|
printf "$(cat ${_LB_LIST_LOCATION})\n" | while read _LB_LINE
|
||||||
do
|
do
|
||||||
case "${_LB_LINE}" in
|
case "${_LB_LINE}" in
|
||||||
\!*)
|
\!*)
|
||||||
|
@ -115,6 +115,6 @@ Expand_packagelist ()
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
done < "${_LB_LIST_LOCATION}"
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue