summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_ipk.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index e7d038fbad..0e4fea8d53 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -74,7 +74,7 @@ package_tryout_install_multilib_ipk() {
74 local pkgname_prefix="${item}-" 74 local pkgname_prefix="${item}-"
75 local pkgname_len=${#pkgname_prefix} 75 local pkgname_len=${#pkgname_prefix}
76 for pkg in ${INSTALL_PACKAGES_MULTILIB_IPK}; do 76 for pkg in ${INSTALL_PACKAGES_MULTILIB_IPK}; do
77 local pkgname=$(echo $pkg | awk -v var=$pkgname_len '{ pkgname=substr($1, 1, var - 1); print pkgname; }' ) 77 local pkgname=$(echo $pkg | awk -v var=$pkgname_len '{ pkgname=substr($1, 1, var); print pkgname; }' )
78 if [ ${pkgname} = ${pkgname_prefix} ]; then 78 if [ ${pkgname} = ${pkgname_prefix} ]; then
79 selected_pkg="${selected_pkg} ${pkg}" 79 selected_pkg="${selected_pkg} ${pkg}"
80 fi 80 fi
@@ -97,7 +97,7 @@ split_multilib_packages() {
97 for item in ${MULTILIB_VARIANTS}; do 97 for item in ${MULTILIB_VARIANTS}; do
98 local pkgname_prefix="${item}-" 98 local pkgname_prefix="${item}-"
99 local pkgname_len=${#pkgname_prefix} 99 local pkgname_len=${#pkgname_prefix}
100 local pkgname=$(echo $pkg | awk -v var=$pkgname_len '{ pkgname=substr($1, 1, var - 1); print pkgname; }' ) 100 local pkgname=$(echo $pkg | awk -v var=$pkgname_len '{ pkgname=substr($1, 1, var); print pkgname; }' )
101 if [ ${pkgname} = ${pkgname_prefix} ]; then 101 if [ ${pkgname} = ${pkgname_prefix} ]; then
102 is_multilib=1 102 is_multilib=1
103 break 103 break