diff options
Diffstat (limited to 'tool')
-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 f4ea9cc1ea..de5319829d 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -340,7 +340,7 @@ end install?(:local, :arch, :data) do pc = CONFIG["ruby_pc"] - if File.exist?(pc) + if pc and File.file?(pc) and File.size?(pc) prepare "pkgconfig data", pkgconfigdir = File.join(libdir, "pkgconfig") install pc, pkgconfigdir, :mode => $data_mode end |