Re: Failing buildword due to execution permission (with fix)

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Mon, 9 Nov 2015 18:18:58 -0800
> >> include/Makefile:MK_OSRELDATE_SH=       ${.CURDIR}/mk-osreldate.sh
> >> include/Makefile:           sh ${MK_OSRELDATE_SH}
> 
> I actually wrote up a patch recently to use ${SH} in all places of 'sh'
> and '/bin/sh', and noted on SHELL?= that was not useful to use, but did
> not commit it (yet).

We (junos) use HOST_SH I think for this, since if building on a non-native
host, /bin/sh cannot be relied on.
FreeBSD sys.mk already has

__MAKE_SHELL?=/bin/sh

so I guess you could use that.
Received on Tue Nov 10 2015 - 01:34:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC