aboutsummaryrefslogtreecommitdiffstats
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 9e935bdb47..5a55b39add 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -590,7 +590,7 @@ install?(:local, :comm, :man) do
STDIN.reopen(f)
begin
destfile << suffix
- IO.popen(compress) {|f| f.read}
+ IO.popen(compress, &:read)
ensure
STDIN.reopen(stdin)
stdin.close