buildroot/package/grep
Angelo Compagnucci 8f9f48acd2 package/grep: fix egrep/fgrep shebang
egrep/fgrep are wrapper scripts, calling the grep binary with the correct
arguments.

The shell wrappers use the value of SHELL at build time as the shebang value
in these wrapper scripts, which in Buildroot points to /bin/bash.

The target may not have bash available, causing runtime errors.

As a fix, add a post-install hook to change this to /bin/sh.

If the target does not have /bin/sh, simply remove the aliases.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-04 15:53:24 +01:00
..
Config.in package/grep: fix egrep/fgrep shebang 2020-02-04 15:53:24 +01:00
grep.hash
grep.mk package/grep: fix egrep/fgrep shebang 2020-02-04 15:53:24 +01:00