diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-06-24 15:06:53 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-06-24 15:24:04 +0200 |
commit | 1807e40dd3666564851b2b0d855513bd004a927d (patch) | |
tree | 0c7141a965a02d689803f081c295453151da1113 | |
parent | 57d26a0758d8cad227ee7fb0d322dc20f9afd64f (diff) | |
download | vyos-live-build-1807e40dd3666564851b2b0d855513bd004a927d.tar.gz vyos-live-build-1807e40dd3666564851b2b0d855513bd004a927d.zip |
Avoid failing on package lists fails that have no newline at the end.
-rwxr-xr-x | functions/packagelists.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/packagelists.sh b/functions/packagelists.sh index d5a2a8c6d..deee6ddb4 100755 --- a/functions/packagelists.sh +++ b/functions/packagelists.sh @@ -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 } |