Revision: 9695 http://pure-data.svn.sourceforge.net/pure-data/?rev=9695&view=rev Author: eighthave Date: 2008-04-12 10:28:32 -0700 (Sat, 12 Apr 2008)
Log Message: ----------- switched 'echo' to 'printf' since you cannot rely on 'echo -e' being available
Modified Paths: -------------- trunk/externals/miXed/toxy/Makefile
Modified: trunk/externals/miXed/toxy/Makefile =================================================================== --- trunk/externals/miXed/toxy/Makefile 2008-04-11 23:17:13 UTC (rev 9694) +++ trunk/externals/miXed/toxy/Makefile 2008-04-12 17:28:32 UTC (rev 9695) @@ -1,12 +1,6 @@ ROOT_DIR = .. WIDPATH = $(ROOT_DIR)/test/toxy/setup.wid WIQFILE = $(notdir $(WIDPATH:.wid=.wiq)) -# this is necessary to deal with cross-platform echo issues with '-e' -ifeq ($(shell echo -e|sed 's|^-||'),e) - ECHO = /bin/echo -else - ECHO = echo -endif redefault: checkwiq $(WIQFILE) default checkwiq: @if [ -f $(WIQFILE) ] && ! [ -s $(WIQFILE) ] ; then \ @@ -15,7 +9,7 @@ $(WIQFILE): $(WIDPATH) @echo transferring widget definitions from "$<" to "$@" # LATER think how to replace puts with pdtk_post - $(ECHO) -e '// Do not edit this file (edit "$<", and run "make").\n//\nputs stderr [concat loading built-in widget definitions]' \ + printf '// Do not edit this file (edit "$<", and run "make").\n//\nputs stderr [concat loading built-in widget definitions]' \ | cat - $< | sed \ -e '1,|//$$|{p;d;}' \ -e 's/([\"])/\\1/g' \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.