diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-01-25 12:23:13 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-01-25 12:23:13 +0100 |
commit | 19b372223b832160b3f84e6be6725fd94e040cc6 (patch) | |
tree | 606a3049d091360fb720f61f49b991d3174ac472 | |
parent | 673a8da58bfa7aa96a68e56791ac49dbf9c79b4b (diff) | |
download | vyos-live-build-19b372223b832160b3f84e6be6725fd94e040cc6.tar.gz vyos-live-build-19b372223b832160b3f84e6be6725fd94e040cc6.zip |
Correcting packagelist parsing when packages are listed with notation of a specific version (Closes: #775832).
-rwxr-xr-x | functions/packagelists.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/packagelists.sh b/functions/packagelists.sh index 48869e99e..0ee13ce71 100755 --- a/functions/packagelists.sh +++ b/functions/packagelists.sh @@ -138,7 +138,7 @@ Discover_package_architectures () for _LB_PACKAGE_LINE_PART in ${_LB_PACKAGE_LINE} do # Looking for <package>:<architecture> - if [ -n "$(echo ${_LB_PACKAGE_LINE_PART} | awk -F':' '{print $2}')" ] + if [ -n "$(echo ${_LB_PACKAGE_LINE_PART} | awk -F"=" '{print $1}' | awk -F':' '{print $2}')" ] then _LB_DISCOVERED_ARCHITECTURES="${_LB_DISCOVERED_ARCHITECTURES} $(echo ${_LB_PACKAGE_LINE_PART} | awk -F':' '{print $2}')" fi |