ruby/template
Alan Wu 99281f513c YJIT: Handle spaces in build dir path using find(1) `-exec`
Previously, we relied on shell word splitting, which leads
to passing the wrong arguments when there are white spaces
in the path.

Avoiding command substitution also makes this script more
likely to work under Solaris 10, where `/bin/sh` is not
POSIX compliant [1]. (Thanks you, `@znz` for fixing the syntax
error in 4210ae2158 though!)

The hack from c466f270b8
doesn't actually work so this commit reverts it. The shell
still needs to parse through all of the code, maybe because
make doesn't in fact send newlines to the shell.

By the way, we also use the `-exec` option in the `ext/distclean` task.

[1]: https://docs.oracle.com/cd/E26505_01/html/816-5165/sh-1.html
2022-04-28 19:02:26 -04:00
..
Doxyfile.tmpl include/ruby/encoding.h: convert macros into inline functions 2021-10-05 14:18:23 +09:00
GNUmakefile.in Add the dependency of GNUmakefile itself [ci skip] 2021-10-06 15:42:37 +09:00
Makefile.in YJIT: Handle spaces in build dir path using find(1) `-exec` 2022-04-28 19:02:26 -04:00
builtin_binary.inc.tmpl Fixed a typo 2020-05-10 18:40:47 +09:00
call_iseq_optimized.inc.tmpl fix inline method cache sync bug 2020-12-15 13:29:30 +09:00
configure-ext.mk.tmpl Retrieve configured gems info 2022-04-07 09:47:10 +09:00
depend.tmpl Added depend files 2019-07-14 01:31:29 +09:00
encdb.h.tmpl Fix syntax error in generated code 2021-06-21 11:20:31 +09:00
extinit.c.tmpl extinit.c.tmpl: drop after dot 2017-01-23 02:19:00 +00:00
exts.mk.tmpl Retrieve previously configured macros also other than `extensions` 2022-04-07 15:03:24 +09:00
fake.rb.in Fix fake.rb RUBY_DESCRIPTION faking for JITs 2022-04-11 13:28:07 -04:00
id.c.tmpl Don't redefine #rb_intern over and over again 2020-10-21 12:45:18 +09:00
id.h.tmpl parse.y: TOKEN2ID 2017-02-11 02:14:06 +00:00
known_errors.inc.tmpl
limits.c.tmpl Freeze RbConfig::SIZEOF and RbConfig::LIMITS 2017-04-06 02:33:40 +00:00
prelude.c.tmpl Use rb_cObject instead of rb_cData 2021-12-31 10:53:54 +09:00
ruby-gdb.in Added install-dbg 2020-06-13 08:22:06 +09:00
ruby-lldb.in Added install-dbg 2020-06-13 08:22:06 +09:00
ruby-runner.h.in ruby-runner.c: enable MJIT_SEARCH_BUILD_DIR 2018-11-07 04:02:14 +00:00
ruby.pc.in Move DEFFILE to EXTDLDFLAGS 2021-08-29 13:04:42 +09:00
sizes.c.tmpl Fix trivial -Wundef warnings 2021-05-04 14:56:55 +02:00
transdb.h.tmpl Get rid of use of special variables 2020-01-20 16:58:58 +09:00
unicode_norm_gen.tmpl Use `_` instead of `_n_` 2019-10-18 20:24:36 +09:00
verconf.h.tmpl MJIT header for multiarch 2018-02-08 15:19:32 +00:00