mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rbinstall.rb: no chdir
* tool/rbinstall.rb (PROLOG_SCRIPT): use the given symlinked directory name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3d7b3f0e8b
commit
e783dcd8ce
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ end
|
|||
if load_relative
|
||||
PROLOG_SCRIPT = <<EOS
|
||||
#!/bin/sh\n# -*- ruby -*-
|
||||
bindir=`#{CONFIG["CHDIR"]} "${0%/*}" 2>/dev/null; pwd`
|
||||
bindir="${0%/*}"
|
||||
EOS
|
||||
if CONFIG["LIBRUBY_RELATIVE"] != 'yes' and libpathenv = CONFIG["LIBPATHENV"]
|
||||
pathsep = File::PATH_SEPARATOR
|
||||
|
|
Loading…
Add table
Reference in a new issue