[systemd-devel] [PATCH 2/2] kernel-install: add compat with 'installkernel'

Jan Engelhardt jengelh at inai.de
Sun Sep 29 03:39:27 PDT 2013


On Thursday 2013-09-26 00:38, Tom Gundersen wrote:

>+if [[ `basename $0` == 'installkernel' ]]; then

Lack of quoting - bad bad bad.
Why not just write ${0##*/} ?


More information about the systemd-devel mailing list