[systemd-devel] [PATCH 2/2] kernel-install: add compat with 'installkernel'
Jan Engelhardt
jengelh at inai.de
Sun Sep 29 06:20:08 PDT 2013
On Sunday 2013-09-29 15:10, Dave Reisner wrote:
>On Sep 29, 2013 6:40 AM, "Jan Engelhardt" <jengelh at inai.de> wrote:
>> 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##*/} ?
>
>Quoting doesn't matter on the lhs here.
I know that [[ has different semantics from [. In fact, what I meant was
[[ `basename "$0"` ==
More information about the systemd-devel
mailing list