]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Unify dep*Read/Write name
[goredo.git] / run.go
diff --git a/run.go b/run.go
index ea14641a9304bd85adbee7c988cebdcc3059242c..3e6cd35fdbe5a3e41c2167b4436bca1f1840a7a6 100644 (file)
--- a/run.go
+++ b/run.go
@@ -322,7 +322,7 @@ func runScript(tgtOrig string, errs chan error, traced bool) error {
                runErr.DoFile = doFileRelPath
        }
 
-       if err = writeDep(fdDep, cwdOrig, doFileRelPath); err != nil {
+       if err = depWrite(fdDep, cwdOrig, doFileRelPath); err != nil {
                cleanup()
                return TgtError{tgtOrig, err}
        }
@@ -707,7 +707,7 @@ func runScript(tgtOrig string, errs chan error, traced bool) error {
                                        goto Finish
                                }
                        }
-                       err = writeDep(fdDep, cwdOrig, tgt)
+                       err = depWrite(fdDep, cwdOrig, tgt)
                        if err != nil {
                                goto Finish
                        }