<p dir="ltr"><br>
On Sep 29, 2013 6:40 AM, "Jan Engelhardt" <<a href="mailto:jengelh@inai.de">jengelh@inai.de</a>> wrote:<br>
><br>
> On Thursday 2013-09-26 00:38, Tom Gundersen wrote:<br>
><br>
> >+if [[ `basename $0` == 'installkernel' ]]; then<br>
><br>
> Lack of quoting - bad bad bad.<br>
> Why not just write ${0##*/} ?</p>
<p dir="ltr">Quoting doesn't matter on the lhs here. Agree with the idiom in place of using basename, though.</p>
<p dir="ltr">> _______________________________________________<br>
> systemd-devel mailing list<br>
> <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</p>