Skip to content

Commit b3ce8c0

Browse files
headiuseregon
authored andcommitted
Don't manipulate bin scripts for jruby/ruby
In jruby/jruby#8875 we modified JRuby's distribution to always ship scripts for bin/jruby and bin/ruby: * bin/jruby and bin/ruby are versioned shell scripts that launch `/bin/sh bin/jruby.sh`. * bin/ruby.bat contains batch code to launch bin/ruby.exe. * No copying of scripts is done during the build and no tweaks are needed by installers to copy, link, or create additional bin/ commands. These changes now conflict with jruby-dev-builder's symlinking of bin/jruby to bin/ruby and its creation of bin/ruby.bat, so we remove the relevant steps.
1 parent 7c7bcb3 commit b3ce8c0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,6 @@ jobs:
115115
ls -l jruby-*-SNAPSHOT/bin
116116
mv jruby-*-SNAPSHOT jruby-head
117117
ls -l jruby-head/bin
118-
- name: Add ruby alias
119-
if: "!startsWith(matrix.os, 'windows')"
120-
run: |
121-
cd jruby-head/bin
122-
ln -s jruby ruby
123-
- name: Add ruby alias (Windows)
124-
if: startsWith(matrix.os, 'windows')
125-
shell: bash
126-
run: |
127-
cd jruby-head/bin
128-
# Copy bash launcher, so 'ruby' works in bash
129-
cp jruby ruby
130-
# Create ruby.bat, so 'ruby' works in pwsh
131-
echo -en "@ECHO OFF\r\n@\"%~dp0jruby.exe\" %*\r\n" > ruby.bat
132-
ls -l
133118
- name: Create archive
134119
run: tar czf jruby-head-${{ steps.platform.outputs.platform }}.tar.gz jruby-head
135120

0 commit comments

Comments
 (0)