From e783dcd8cef51631964dccc20963d5cfd9628278 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 31 Jan 2015 08:42:13 +0000 Subject: 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 --- tool/rbinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/rbinstall.rb') diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 5c420bf023..3c4a4803c4 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -418,7 +418,7 @@ end if load_relative PROLOG_SCRIPT = </dev/null; pwd` +bindir="${0%/*}" EOS if CONFIG["LIBRUBY_RELATIVE"] != 'yes' and libpathenv = CONFIG["LIBPATHENV"] pathsep = File::PATH_SEPARATOR -- cgit v1.2.3