diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 5810b47..5b07ad7 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -166,7 +166,7 @@ EOF
puts "status[#{name.inspect}]"
d_name = "#{d}/#{name}"
file = "#{name}.status"
- if ! File.exist(file) || File.mtime(file) <= File.mtime(subdir_file)
+ if ! File.exist?(file) || File.mtime(file) <= File.mtime(subdir_file)
cmd! "cp -a #{sh_quote(subdir_file)} #{sh_quote(file)}"
if ! status[name]
status[name] = {}