X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=run.go;h=48c2f10671ab3fa46125879b371e6adf0d34ab11;hb=d50ba0bfdabd90a8d472ed57a5afcffd7a893340;hp=7a6ac37ed124474f787ccf7b1ef267e909529d46;hpb=0db0e21921706ba645c229e809fd3668542dcaae;p=goredo.git diff --git a/run.go b/run.go index 7a6ac37..48c2f10 100644 --- a/run.go +++ b/run.go @@ -133,7 +133,7 @@ func mkdirs(pth string) error { } func isModified(depInfo *DepInfo, tgt *Tgt) ( - modified bool, ourInode *Inode, hshPrev string, err error, + modified bool, ourInode *Inode, hshPrev Hash, err error, ) { if depInfo == nil { return @@ -721,7 +721,7 @@ func runScript(tgt *Tgt, errs chan error, forced, traced bool) error { goto Finish } } else { - var hsh string + var hsh Hash if hshPrev != "" { _, err = fd.Seek(0, io.SeekStart) if err != nil {