#19381: r45187 is probably missing a ";" causing trouble with postinst/prerm
commands
--------------------------+----------------------------------
Reporter: hnyman | Owner: developers
Type: defect | Status: new
Priority: highest | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Resolution: | Keywords:
--------------------------+----------------------------------
Comment (by hnyman):
I first tried adding ";" at the end of the line, but compiling some
packages choked with that, e.g. base-files
So I added ";" inside the if clause, so that ";" is only added along the
possible chmod command. That seems to work for me:
{{{
--- include/package-ipkg.mk (revision 45192)
+++ include/package-ipkg.mk (working copy)
@@ -21,7 +21,7 @@
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
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19381#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets