Skip to contentSkip to conversation

package_rpm.bbclass: fix bashims at rpm_common_comand() method

PATCH Applied Otavio Salvador 2 participants 2 messages Mar 17, 2012 – Mar 19, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 package_rpm.bbclass: fix bashims at rpm_common_comand() method

---
 meta/classes/package_rpm.bbclass |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
meta/classes/package_rpm.bbclass +1 -2
index 68313ec..80b1619 100644
@@ -151,7 +151,6 @@ resolve_package_rpm () {
 rpm_common_comand () {
 
     local target_rootfs="${INSTALL_ROOTFS_RPM}"
-    local extra_args="$@"
 
     ${RPM} --root ${target_rootfs} \
         --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
@@ -160,7 +159,7 @@ rpm_common_comand () {
         -D "_dbpath ${rpmlibdir}" \
         --noparentdirs --nolinktos \
         -D "__dbi_txn create nofsync private" \
-        -D "_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper" $extra_args
+        -D "_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper" $@
 }
 
 # install or remove the pkg
Signature · 1 line
1.7.2.5