As Matthias Schiffer (@schiffermtq) pointed out, using SHELL instead
of "/bin/sh" breaks the test suite if not using a POSIX compatible
shell like zsh. Fix this problem by not using blindly SHELL, but
GENIMAGE_SHELL. If this environment variable is set, we assume the
user knows what she's doing.
As Matthias Schiffer (@schiffermtq) pointed out, using SHELL instead of "/bin/sh" breaks the test suite if not using a POSIX compatible shell like zsh. Fix this problem by not using blindly SHELL, but GENIMAGE_SHELL. If this environment variable is set, we assume the user knows what she's doing.
Link: https://github.com/pengutronix/genimage/pull/161#issuecomment-891761302 Fixes: 1c5301268106 ("util: systemp(): use shell defined in SHELL rather than /bin/sh") Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de