Skip to content

Commit 378c026

Browse files
committed
Also remove copying logic for jruby-native.rb
1 parent daff032 commit 378c026

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Makefile

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,6 @@ install:
4242
@if [ -f $(BINDIR)/jruby -a ! -w $(BINDIR)/jruby ]; then echo "Cannot write to '$(BINDIR)/jruby'."; exit 1; fi
4343
cp ./jruby $(BINDIR)/jruby
4444
@if [ x$(PREFIX) = xnotspecified ]; then echo "Please define where to install by passing PREFIX=<jruby-home>."; exit 1; fi
45-
@if [ ! -w $(INSTALLDIR) ]; then \
46-
if [ ! -w $(OLDINSTALLDIR) ]; then \
47-
if [ ! -w $(INSTALLDIR9000) ]; then \
48-
echo "Neither '$(INSTALLDIR9000)' nor '$(INSTALLDIR)' nor '$(OLDINSTALLDIR)' exist and are writable"; exit 1; \
49-
else \
50-
echo "cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR9000)"; \
51-
cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR9000); \
52-
fi; \
53-
else \
54-
echo "cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR)"; \
55-
cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR); \
56-
fi; \
57-
else \
58-
echo "cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR)"; \
59-
cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR); \
60-
fi;
6145

6246
test:
6347
$(RAKE)

0 commit comments

Comments
 (0)