[pacman-dev] [PATCH 1/3] makepkg: proper quoting in [[ expression ]]

lolilolicon lolilolicon at gmail.com
Wed Sep 28 14:45:40 EDT 2011


On Thu, Sep 29, 2011 at 2:07 AM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Wed, Sep 28, 2011 at 11:58 AM, lolilolicon <lolilolicon at gmail.com> wrote:
>> Always quote the righthand side of expression when the == or != operator
>> is used, unless intended as a pattern.  Quoting bash(1):
>>
>> When the == and != operators are used, the string to the right of the
>> operator is considered a pattern.  Any part of the pattern may be quoted
>> to force it to be matched as a string.
>>
>> Signed-off-by: lolilolicon <lolilolicon at gmail.com>
>> ---
>
> Thanks! I applied this, but I'm not going to take the time in the
> future to fix formatting issues in the patch. You cannot paste stuff
> into gmail and expect it to work and not linewrap incorrectly. Please
> use git send-email next time.
>

Ah, sorry about that. I used git imap-send to send this to
Gmail/drafts but somehow
Gmail failed. First-timer here :)


More information about the pacman-dev mailing list