[OpenWrt-Devel] [BROKEN][package-ipkg.mk] postinst, prerm, conffiles from original makefile killed

Jo-Philipp Wich jow at openwrt.org
Fri Oct 24 07:42:18 EDT 2014


Hi.

> postinst and prerm are copied shell scripts
> and executed on the box and not by make
> thats the reason for #!/bin/sh required on the first line
> so "$$" not needed. right ?

Nope, not right - it is needed. Make is interpreting the stuff between
define .. endef - you need to escape $ in any case.

~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list