ruby-changes:50254
From: k0kubun <ko1@a...>
Date: Sun, 11 Feb 2018 22:47:01 +0900 (JST)
Subject: [ruby-changes:50254] k0kubun:r62372 (trunk): Makefile.in: use printf
k0kubun 2018-02-11 22:46:54 +0900 (Sun, 11 Feb 2018) New Revision: 62372 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62372 Log: 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 Modified files: trunk/Makefile.in Index: Makefile.in =================================================================== --- Makefile.in (revision 62371) +++ Makefile.in (revision 62372) @@ -542,28 +542,28 @@ mjit_config.h: https://github.com/ruby/ruby/blob/trunk/Makefile.in#L542 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 */'; \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/