diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-07-18 16:14:29 +0200 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-08-23 12:17:07 +0900 |
| commit | 52082d19e084c43457ce79c1e76f6f2707fac80e (patch) | |
| tree | 49f2a07bb90dd7eace33922e43e1db1a70e6a70f | |
| parent | fbadcd277f5b68ac619d3c861dfdd3e109aeda81 (diff) | |
`load_relative` is always falsy here
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11435
| -rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 6cd587ac9c..6fa4831fc3 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -402,7 +402,7 @@ EOS if !load_relative and libpathenv = CONFIG["LIBPATHENV"] pathsep = File::PATH_SEPARATOR prolog_script << <<EOS -libdir="#{load_relative ? '$\{bindir%/bin\}/lib' : libdir.gsub(/\"/, '\\\\"')}" +libdir="#{libdir.gsub(/\"/, '\\\\"')}" export #{libpathenv}="$libdir${#{libpathenv}:+#{pathsep}$#{libpathenv}}" EOS end |
