[arch-projects] [mkinitcpio][PATCH 25/26] init_functions: use constants on LHS of tests

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Tue Sep 27 18:17:18 EDT 2011


On 09/27/2011 06:51 AM, Thomas Bächler wrote:
> Am 27.09.2011 06:23, schrieb Gerardo Exequiel Pozzi:
>>> -                    if [ "${rhs:0:1}" = "\"" ]; then
>>> +                    if [ "\"" = "${rhs:0:1}" = ]; then
>> I testing the whole branch with archiso. But this patch introduced a
>> regression:
>>
>> "ash: =: unknown operand"
>> :: Starting udevd...
>>
>> tracing shows:
>>
>> + echo archisobasedir=arch
>> + lhs=archisobasedir
>> + [ " = a = ]
>> ash: =: unknown operand
> It's typo. When you see it, you will cry.
>
haha, I see :P

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-projects mailing list