aboutsummaryrefslogtreecommitdiffstats
path: root/tool/runruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-xtool/runruby.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb
index 0165634edf..86b9327350 100755
--- a/tool/runruby.rb
+++ b/tool/runruby.rb
@@ -34,8 +34,7 @@ end
unless defined?(File.realpath)
def File.realpath(*args)
- Dir.chdir do
- expand_path(*args)
+ Dir.chdir(expand_path(*args)) do
Dir.pwd
end
end