From f661b64caba52d33c60de0442bb69c6f0f384413 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Wed, 2 Apr 2025 12:42:27 -0500 Subject: [PATCH] Don't delete jruby.sh I'm not sure why this file was being deleted but this code dates way back! Unfortunately deleting this interferes with a new version of the native JRuby launcher we want to release which is dependent on the shell script being present. This PR removes jruby.sh from the `remove_windows_files` function so it can be used by the new launcher. See https://github.com/jruby/jruby-launcher/pull/48#issuecomment-2772272290 --- bin/ruby-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ruby-build b/bin/ruby-build index 6ba88894..ab987650 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -935,7 +935,7 @@ build_package_artichoke() { remove_windows_files() { # shellcheck disable=SC2164 cd "$PREFIX_PATH" - rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh + rm -f bin/*.exe bin/*.dll bin/*.bat } clean_prefix_path_truffleruby() {