]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Do not try to open non-existent .dep
[goredo.git] / run.go
diff --git a/run.go b/run.go
index f0ea58dcc1dfce54f9b61d4528b34a533e0116c2..8ea91d1eb9ca10d5789cd5cd9159c6c9aeb715f4 100644 (file)
--- a/run.go
+++ b/run.go
@@ -557,7 +557,7 @@ func runScript(tgt *Tgt, errs chan error, forced, traced bool) error {
                                        }
 
                                        w := bufio.NewWriter(fdStderr)
-                                       {
+                                       if !fdDepExists {
                                                var ifchanges []string
                                                ifchanges, err = depReadOnlyIfchanges(tgt.dep)
                                                if err != nil {