[LEDE-DEV] [PATCH] Use printf instead of echo.
Bastian Bittorf
bb at npl.de
Sat Nov 12 00:13:20 PST 2016
* Felix Fietkau <nbd at nbd.name> [23.08.2016 13:59]:
> > For now, the change I submitted is whats needed to fix breakage on my
> > system. For others, I will send patches if no one takes it up in a few days.
> Actually, you might be able to simplify the change even more by forcing
> the hostapd build shell to bash (some other packages do this as well).
this look simple, but in the long run...
# "Stick to portable constructs where possible, and
# you will make somebody's life easier in the future.
# Maybe your own."
so using /bin/sh with 'printf' is safe.
(no matter which underlying shell-interpreter we use)
bye, bastian
More information about the Lede-dev
mailing list