]> Cypherpunks.ru repositories - goredo.git/blobdiff - ood.go
Empty target names must not be present in .rec
[goredo.git] / ood.go
diff --git a/ood.go b/ood.go
index 3843fa1170b173e2469d240a2feef8ab005d7c2c..5dc543f56aa263d821b33dc03a4d8fa30d66ccf7 100644 (file)
--- a/ood.go
+++ b/ood.go
@@ -149,9 +149,6 @@ func isOOD(cwd, tgtOrig string, level int, seen map[string]struct{}) (bool, erro
        }
 
        for _, dep := range depInfo.ifchanges {
-               if dep.tgt == "" {
-                       return ood, TgtError{tgtOrig, ErrMissingTarget}
-               }
                tracef(CDebug, "ood: %s%s -> %s: checking", indent, tgtOrig, dep.tgt)
                ood, cached = OODCache[path.Join(cwd, dep.tgt)]
                if cached {