> > > Is it truly protable with "=" or do we need to be more clever? > > I don't know how you managed to get it to work wtih "==". > String equality should be "=" in all /bin/sh versions. > It's been that way since it was written in pseudo-Algol.
[EMAIL PROTECTED] kbuild.git]$ if [ "x86_64" == "x86_64" ]; then echo foo; else echo bar; fi foo [EMAIL PROTECTED] kbuild.git]$ if [ "x86_64" == "x86_64x" ]; then echo foo; else echo bar; fi bar So it works as I expected here. I will push your fix later today (which I have tested and it works here too). Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/