[Buildroot] [PATCH v2] package/grep: fix egrep/fgrep shebang

Peter Korsgaard peter at korsgaard.com
Tue Feb 4 14:53:14 UTC 2020

>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

 >> +else
 >> +GREP_CONF_OPTS += SHELL=/bin/sh

 > It is a bit odd to not do this unconditionally. Such environment
 > variables normally go in _CONF_ENV, so I changed that, reworded the
 > commit message a bit and committed, thanks.

Except that it doesn't work, so in the end I changed it to just sed
s/bash/sh/ in a post-install hook. That way it will not break if the
configure script / Makefile ever start using bashisms.

Bye, Peter Korsgaard

More information about the buildroot mailing list