ruby/template
eileencodes 0f9e50b8c5 Fix macos bug deleting too many files
Since #10209 we've been noticing that on macos after running `make
clean` the `coroutine/arm64/Context.S` file is missing, causing
subsequent make calls to fail because `Context.S` is needed to build
`Context.o`.

The reason this is happening is because macos is case-insensitive so the
`.s` looks for `coroutine/arm64/Context.s` and finds
`coroutine/arm64/Context.s`. This does not happen on linux because the
filesystem is case sensitive.

I attempted to use `find` because it is case sensitive regardless of
filesystem, but it was a lot slower than `rm` since we can't pass
multiple file names the same way to `find`.

Reverting this small part of #10209 fixes the issue for macos and it
wasn't clear that those changes were strictly necessary for the rest of
the PR.

We changed the original code to use `rm` instead of `delete` because it
is not standarized on POSIX.
2024-05-26 19:11:23 +09:00
..
Doxyfile.tmpl Remove never used macros related to RJIT [ci skip] 2024-03-24 22:37:20 +09:00
GNUmakefile.in Remove duplicate dependency line 2024-03-08 11:58:41 +09:00
Makefile.in Fix macos bug deleting too many files 2024-05-26 19:11:23 +09:00
builtin_binary.inc.tmpl Revert "Disable iseq-dumped builtin module for universal x86_64/arm64 binaries" 2023-11-09 16:01:01 +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 Remove `--jobserver-auth` option which varies for each run 2023-06-19 18:28:10 +09:00
depend.tmpl
encdb.h.tmpl Refactor encdb and transdb templates 2024-03-17 19:09:37 +09:00
extinit.c.tmpl Alias init functions 2024-02-04 16:43:09 +09:00
exts.mk.tmpl Ignore failures on removing ext sub directories 2024-03-11 00:46:15 +09:00
fake.rb.in [Bug #19967] Reset `LIBPATHENV` env after started 2023-10-21 14:05:20 +09:00
id.c.tmpl Generate token ID indexes in id.def 2022-09-08 18:18:56 +09:00
id.h.tmpl Add comments to id.h and undef finished macros 2023-07-21 14:52:43 +09:00
known_errors.inc.tmpl [DOC] Documentize known_errors 2024-01-13 11:08:00 +09:00
limits.c.tmpl
prelude.c.tmpl Rename `vast` to `ast_value` 2024-05-03 12:40:35 +09:00
ruby-gdb.in
ruby-lldb.in
ruby-runner.h.in
ruby.pc.in Use RUBY_PROGRAM_VERSION as version in pkg-config file [ci skip] 2023-04-13 11:31:34 +09:00
sizes.c.tmpl Fix trivial -Wundef warnings 2021-05-04 14:56:55 +02:00
transdb.h.tmpl Refactor encdb and transdb templates 2024-03-17 19:09:37 +09:00
unicode_norm_gen.tmpl
unicode_properties.rdoc.tmpl [Bug #19728] Auto-generate unicode property docs 2023-07-01 23:22:17 +09:00
verconf.h.tmpl