On Mon, 2009-07-20 at 13:51 +0200, Sam Ravnborg wrote: > -if [ -x ~/bin/${CROSS_COMPILE}installkernel ]; then exec ~/bin/${CROSS_COMPILE}installkernel "$@"; fi > -if [ -x /sbin/${CROSS_COMPILE}installkernel ]; then exec /sbin/${CROSS_COMPILE}installkernel "$@"; fi > +for INSTALL in ~/bin/${CROSS_COMPILE} /sbin/${CROSS_COMPILE} ~/bin /sbin/; do > + if [ -x ${INSTALL}installkernel ]; then > + exec ${INSTALL}installkernel "$@" > + fi > +done Won't that still get upset if CROSS_COMPILE has whitespace in it, which would form weird filenames etc.. or worse, it might match ~/bin/distcc -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html