X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fpackage-ipkg.mk;h=eb4c874047e8a9e24a4d77b13f7ba66e1221cbb5;hb=70d0a15768079a9d6bbf905f3fa99724b40e5608;hp=36091dcc81f7eb259b2eb996ecacb26f3585ff02;hpb=a65b4c5268b7dbcd1c05e50a7bde4633056c5794;p=openwrt.git diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 36091dcc81..eb4c874047 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -21,7 +21,7 @@ define BuildIPKGVariable ifdef Package/$(1)/$(2) $$(IPKG_$(1)) : VAR_$(2)$(3)=$$(Package/$(1)/$(2)) $(call shexport,Package/$(1)/$(2)) - $(1)_COMMANDS += echo "$$$$$$$$$(call shvar,Package/$(1)/$(2))" > $(2)$(3); $(if $(4),chmod 0755 $(2)$(3)); + $(1)_COMMANDS += echo "$$$$$$$$$(call shvar,Package/$(1)/$(2))" > $(2)$(3); $(if $(4),chmod 0755 $(2)$(3);) endif endef @@ -129,7 +129,7 @@ ifeq ($(DUMP),) $(eval $(call BuildIPKGVariable,$(1),preinst,,1)) $(eval $(call BuildIPKGVariable,$(1),postinst,-pkg,1)) $(eval $(call BuildIPKGVariable,$(1),prerm,-pkg,1)) - $(eval $(call BuildIPKGVariable,$(1),postrm,1)) + $(eval $(call BuildIPKGVariable,$(1),postrm,,1)) $(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(STAMP_BUILT) rm -rf $(STAGING_DIR_ROOT)/tmp-$(1)