From f9d79161b11a83b40678c178b8621eab43763ba1 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 11 Feb 2018 13:46:54 +0000 Subject: Makefile.in: use printf `echo -n` is sometimes not available. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20180211T132503Z.log.html.gz#miniruby git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile.in b/Makefile.in index f94d64f515..601b18d8a1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -542,28 +542,28 @@ mjit_config.h: echo '#ifndef RUBY_MJIT_CONFIG_H'; \ echo '#define RUBY_MJIT_CONFIG_H 1'; \ \ - set x $(CC) && shift && echo -n '#define MJIT_CC_COMMON ' && \ - for w do echo -n '"'$$w'", '; done; \ + set x $(CC) && shift && printf '#define MJIT_CC_COMMON ' && \ + for w do printf '"'$$w'", '; done; \ echo; \ \ - set x -w $(ARCH_FLAG) && shift && echo -n '#define MJIT_CFLAGS ' && \ - for w do echo -n '"'$$w'", '; done; \ + set x -w $(ARCH_FLAG) && shift && printf '#define MJIT_CFLAGS ' && \ + for w do printf '"'$$w'", '; done; \ echo; \ \ - set x $(optflags) && shift && echo -n '#define MJIT_OPTFLAGS ' && \ - for w do echo -n '"'$$w'", '; done; \ + set x $(optflags) && shift && printf '#define MJIT_OPTFLAGS ' && \ + for w do printf '"'$$w'", '; done; \ echo; \ \ - set x $(debugflags) && shift && echo -n '#define MJIT_DEBUGFLAGS ' && \ - for w do echo -n '"'$$w'", '; done; \ + set x $(debugflags) && shift && printf '#define MJIT_DEBUGFLAGS ' && \ + for w do printf '"'$$w'", '; done; \ echo; \ \ - set x @LDSHARED@ && shift && echo -n '#define MJIT_LDSHARED ' && \ - for w do echo -n '"'$$w'", '; done; \ + set x @LDSHARED@ && shift && printf '#define MJIT_LDSHARED ' && \ + for w do printf '"'$$w'", '; done; \ echo; \ \ - set x @DLDFLAGS@ && shift && echo -n '#define MJIT_DLDFLAGS ' && \ - for w do echo -n '"'$$w'", '; done; \ + set x @DLDFLAGS@ && shift && printf '#define MJIT_DLDFLAGS ' && \ + for w do printf '"'$$w'", '; done; \ echo; \ \ echo '#endif /* RUBY_MJIT_CONFIG_H */'; \ -- cgit v1.2.3