On Sunday 2013-09-29 15:10, Dave Reisner wrote:
>On Sep 29, 2013 6:40 AM, "Jan Engelhardt" <jeng...@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"` ==
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to