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

Thomas Bächler thomas at archlinux.org
Tue Sep 27 05:51:11 EDT 2011


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110927/4209e236/attachment.asc>


More information about the arch-projects mailing list