Messages in this thread | | | Date | Tue, 13 Oct 2009 23:10:19 +0800 | Subject | Re: [GIT PULL] kbuild fixes | From | Américo Wang <> |
| |
On Mon, Oct 12, 2009 at 4:41 PM, Michael Tokarev <mjt@tls.msk.ru> wrote: > Sam Ravnborg wrote: >> >> Hi Linus. >> >> A few kbuild related fixes. > > [] >> >> - Fix use of echo -ne. Is caused issues for ubuntu (IIRC) users > > As has been discussed previously (and Sam has been CC'ed), the fix > is still incorrect. It replaces "echo -ne" with "/bin/echo -ne", > but neither of the two are guaranteed to support the necessary > arguments and necessary (hexadecimal) escape sequences. What should > be used here is printf(1). The trivial patch below (on top of these > kbuild changes) fixes this issue. > > Thanks. > > /mjt > > Signed-Off-By: Michael Tokarev <mjt@tls.msk.ru> >
Sorry, I just saw this email.
Hmm, printf(1) should be more portable than echo(1), I checked your patch, how about using 'printf "%b" ' instead?
Thanks! -- 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/
| |