Although working with bash, 'echo -n' is really non-portable.
Get rid of this by using printf(1) with no trailing new-line (\n).
Again, thanks to Martin GUY, who pointed this issue.
/trunk/kconfig/kconfig.mk | 2 1 1 0
/trunk/scripts/build/libc_uClibc.sh | 4 3 1 0 ++
/trunk/scripts/showSamples.sh | 78 39 39 0 +++++++++++++++++++++---------------------
3 files changed, 43 insertions(+), 41 deletions(-)
1 --- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200
2 +++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200
4 $(AR) dN 2 $(LIBNAME) $$objs && \
5 $(AR) dN 2 $(LIBNAME) $$objs
6 @for objfile in obj.signal \
7 - obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
8 + obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
9 obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
10 if [ -e $$objfile ] ; then \
11 echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \