diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-26 03:47:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-26 03:47:15 +0000 |
commit | 749ad16aa7015438a12686556d4567a7b295f27a (patch) | |
tree | 6303c256a6335acd90d65cee68f5b55a693870e4 /tool/rbinstall.rb | |
parent | fd74e1414c76288af00b47517144244134e40cc4 (diff) | |
download | ruby-749ad16aa7015438a12686556d4567a7b295f27a.tar.gz |
* common.mk (pkgconfig-data): moved from Makefile.in.
* tool/rbinstall.rb: install pc file only if non-empty.
[ruby-core:32901] #3983
* win32/Makefile.sub (ruby_pc): create pc file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-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 |