From af1b39c8dba29d0601b540b1892bb22bbe00de0d Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 1 Dec 2011 12:51:24 +0200 Subject: [PATCH 1/1] Replace echo -e with printf --- projects/convertor/Makefile | 2 +- projects/rlm_stg/Makefile | 2 +- projects/rscriptd/Makefile | 2 +- projects/sgauth/Makefile | 2 +- projects/sgauthstress/Makefile | 2 +- projects/sgconf/Makefile | 2 +- projects/sgconf_xml/Makefile | 2 +- projects/stargazer/Makefile | 2 +- projects/stargazer/plugins/Makefile.in | 4 ++-- stglibs/Makefile.in | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/convertor/Makefile b/projects/convertor/Makefile index 2a4a5923..c1d9ff86 100644 --- a/projects/convertor/Makefile +++ b/projects/convertor/Makefile @@ -71,5 +71,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index a22902cf..20a79a4a 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -77,5 +77,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile index a4e2a557..2666dc37 100644 --- a/projects/rscriptd/Makefile +++ b/projects/rscriptd/Makefile @@ -88,5 +88,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/sgauth/Makefile b/projects/sgauth/Makefile index f5988e23..2ce0a1d5 100644 --- a/projects/sgauth/Makefile +++ b/projects/sgauth/Makefile @@ -90,5 +90,5 @@ deps: $(SRCS) ../../Makefile.conf sgauth.css ./make_css.sh for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/sgauthstress/Makefile b/projects/sgauthstress/Makefile index 9236317d..67eaf5fc 100644 --- a/projects/sgauthstress/Makefile +++ b/projects/sgauthstress/Makefile @@ -67,5 +67,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/sgconf/Makefile b/projects/sgconf/Makefile index 7e0c5583..ed472f9c 100644 --- a/projects/sgconf/Makefile +++ b/projects/sgconf/Makefile @@ -88,5 +88,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/sgconf_xml/Makefile b/projects/sgconf_xml/Makefile index f45cb8f8..02571697 100644 --- a/projects/sgconf_xml/Makefile +++ b/projects/sgconf_xml/Makefile @@ -88,5 +88,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/stargazer/Makefile b/projects/stargazer/Makefile index 74ed4cbb..361347df 100644 --- a/projects/stargazer/Makefile +++ b/projects/stargazer/Makefile @@ -139,5 +139,5 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "`$(CC) $(CXXFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CXXFLAGS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CXXFLAGS)\n' >> deps ;\ done diff --git a/projects/stargazer/plugins/Makefile.in b/projects/stargazer/plugins/Makefile.in index 6dd8d781..9ccb3ef9 100644 --- a/projects/stargazer/plugins/Makefile.in +++ b/projects/stargazer/plugins/Makefile.in @@ -46,9 +46,9 @@ deps: $(SRCS) ../../../../../Makefile.conf if [ $$? -eq 0 ];\ then\ echo "`$(CC) $(CFLAGS) $(DEFS) $(SEARCH_DIRS) -MM $$file` Makefile ../../../../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\ + printf '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)\n' >> deps ;\ else\ echo "`$(CXX) $(CXXFLAGS) $(DEFS) $(SEARCH_DIRS) -MM $$file` Makefile ../../../../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CXX) -c $$< $(CXXFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\ + printf '\t$$(CXX) -c $$< $(CXXFLAGS) $(SEARCH_DIRS) $(DEFS)\n' >> deps ;\ fi;\ done diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index b768b163..def43a0c 100644 --- a/stglibs/Makefile.in +++ b/stglibs/Makefile.in @@ -61,9 +61,9 @@ deps: $(SRCS) ../../Makefile.conf if [ $$? -eq 0 ];\ then\ echo "`$(CC) $(CFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CC) $(CFLAGS) -c $$<' >> deps ;\ + printf '\t$$(CC) $(CFLAGS) -c $$<\n' >> deps ;\ else\ echo "`$(CXX) $(CXXFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - echo -e '\t$$(CXX) $(CXXFLAGS) -c $$<' >> deps ;\ + printf '\t$$(CXX) $(CXXFLAGS) -c $$<\n' >> deps ;\ fi;\ done -- 2.44.2