summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-07-18 16:14:08 +0200
committerNobuyoshi Nakada <[email protected]>2024-08-23 12:17:07 +0900
commitfbadcd277f5b68ac619d3c861dfdd3e109aeda81 ()
treec9a60f01bb51f75b9abf72d632619feadc9000e7 /tool/rbinstall.rb
parentc48e5959debdd0da966b911c73c57e44bd3178d1 (diff)
Reuse `load_relative` local
Notes: Merged: https://.com/ruby/ruby/pull/11435
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
@@ -399,7 +399,7 @@ rdoc_noinst = %w[created.rid]
prolog_script = <<EOS
bindir="#{load_relative ? '${0%/*}' : bindir.gsub(/\"/, '\\\\"')}"
EOS
-if CONFIG["LIBRUBY_RELATIVE"] != 'yes' and libpathenv = CONFIG["LIBPATHENV"]
pathsep = File::PATH_SEPARATOR
prolog_script << <<EOS
libdir="#{load_relative ? '$\{bindir%/bin\}/lib' : libdir.gsub(/\"/, '\\\\"')}"