summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/packagelists.sh2
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