3 Apr
2020
3 Apr
'20
3:40 p.m.
This option is specific for the build mode, so do not use it when the mode is a different one. --- src/supermin.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supermin.ml b/src/supermin.ml index 80c48e6..6e93b83 100644 --- a/src/supermin.ml +++ b/src/supermin.ml @@ -234,7 +234,7 @@ appliance automatically. * does not exist, or if the dates of either input files or package * database is newer, then we rebuild. Else we can just exit. *) - if if_newer then ( + if mode = Build && if_newer then ( try let odate = (lstat outputdir).st_mtime in let idates = List.map (fun d -> (lstat d).st_mtime) inputs in -- 2.25.1