[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


> 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

More information about the openwrt-devel mailing list