]> Cypherpunks.ru repositories - goredo.git/blobdiff - ifchange.go
redo-stamp with REDO_NO_HASH workability fix
[goredo.git] / ifchange.go
index 73dcae26c0b4a207e755df20778981f199f4a0d0..3cd93fb6c89d770bed1bfd330c0a4201ed81b944 100644 (file)
@@ -49,7 +49,7 @@ func ifchange(tgts []string) (bool, error) {
                if Force {
                        ood = true
                } else {
-                       ood, err = isOOD(Cwd, tgt, 0)
+                       ood, err = isOOD(Cwd, tgt, 0, nil)
                        if err != nil {
                                return false, err
                        }
@@ -61,7 +61,7 @@ func ifchange(tgts []string) (bool, error) {
                        trace(CDebug, "%s is source, not redoing", tgt)
                        continue
                }
-               if err = runScript(tgt, errs); err != nil {
+               if err = runScript(tgt, errs, ""); err != nil {
                        return false, err
                }
                if Force {