Commit a53130b993bf45e835928377f39971b1726b8350

Thomas de Grivel 2023-02-28T11:52:54

ci_mux

1
2
3
4
5
6
7
8
9
10
11
12
13
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] = {}