1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Makefile.in: fix portability issue

* Makefile.in (mjit_config.h): Alternative value with $@ and
  printf without argument are not portable, could fail on some
  platforms.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-02-26 08:37:02 +00:00
parent bde455170b
commit 19022bef01

View file

@ -546,7 +546,7 @@ mjit_config.h:
@{ \
quote() { \
printf "#define $$1"; shift; \
printf $${1+' "%s"'$$sep} $${@-" /**/"}; \
$${1+printf} $${1+' "%s"'$$sep} $${1+"$$@"}; \
echo; \
}; \
test "$(Q)" = @ || set -x; \