Messages in this thread | | | Date | Sat, 20 Oct 2007 15:06:35 +0200 | From | Sam Ravnborg <> | Subject | Re: [patch 2.6.23-git] toplevel Makefile/depmod bugfix |
| |
> > > 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.
[sam@neptun kbuild.git]$ if [ "x86_64" == "x86_64" ]; then echo foo; else echo bar; fi foo [sam@neptun 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |