diff options
author | David RodrÃguez <[email protected]> | 2024-07-18 16:14:08 +0200 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-08-23 12:17:07 +0900 |
commit | fbadcd277f5b68ac619d3c861dfdd3e109aeda81 () | |
tree | c9a60f01bb51f75b9abf72d632619feadc9000e7 /tool/rbinstall.rb | |
parent | c48e5959debdd0da966b911c73c57e44bd3178d1 (diff) |
Reuse `load_relative` local
Notes: Merged: https://.com/ruby/ruby/pull/11435
-rwxr-xr-x | tool/rbinstall.rb | 2 |
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(/\"/, '\\\\"')}" |