Commits

camlspotter committed 4adcd92

stupid mistake at boolean expr

Comments (0)

Files changed (1)

                 let dirname = Filename.dirname p in
                 let destfile = dirname ^/ Filename.basename spotspit in 
                 let need_to_copy = 
-                  Sys.file_exists destfile && cmp spotspit destfile <> `Same
+                  not (Sys.file_exists destfile && cmp spotspit destfile = `Same)
                 in
-                if not need_to_copy then 
+                if not need_to_copy then
                   Hashset.add copied p                
                 else begin
                   match