From 27bd9d5f182049c85d9e33d1b68a6b1247091b2e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 6 Jun 2009 21:38:54 +0000 Subject: [PATCH] Switch from "echo -n" to printf. On my mac, the -n was just getting printed out. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199368 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 326090bc01..ac03dcfa74 100644 --- a/Makefile +++ b/Makefile @@ -494,12 +494,12 @@ datafiles: _all $(MAKE) -C sounds install doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(shell $(GREP) -l "language=\"en_US\"" $(dir)/*.c $(dir)/*.cc 2>/dev/null)) - @echo -n "Building Documentation For: " + @printf "Building Documentation For: " @echo "" > $@ @echo "" >> $@ @echo "" >> $@ @for x in $(MOD_SUBDIRS); do \ - echo -n "$$x " ; \ + printf "$$x " ; \ for i in $$x/*.c; do \ $(AWK) -f build_tools/get_documentation $$i >> $@ ; \ done ; \