From: Russell Bryant Date: Sat, 6 Jun 2009 21:38:54 +0000 (+0000) Subject: Switch from "echo -n" to printf. On my mac, the -n was just getting printed out. X-Git-Tag: 11.0.0-beta1~4727 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27bd9d5f182049c85d9e33d1b68a6b1247091b2e;p=thirdparty%2Fasterisk.git 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 --- 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 ; \