diff options
-rw-r--r-- | meta/classes/package_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 2cc0584b59..950f665db5 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -248,7 +248,7 @@ package_install_internal_rpm () { | |||
248 | echo "Processing $pkg..." | 248 | echo "Processing $pkg..." |
249 | 249 | ||
250 | archvar=base_package_archs | 250 | archvar=base_package_archs |
251 | ml_pkg=$(echo ${pkg} | sed "s,$^{MLPREFIX}\(.*\),\1,") | 251 | ml_pkg=$(echo ${pkg} | sed "s,^${MLPREFIX}\(.*\),\1,") |
252 | if [ "${ml_pkg}" != "${pkg}" ]; then | 252 | if [ "${ml_pkg}" != "${pkg}" ]; then |
253 | archvar=ml_package_archs | 253 | archvar=ml_package_archs |
254 | fi | 254 | fi |