diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -77,8 +77,8 @@ func doProto(argvProto string) error { me.sh.GoodExit("doClean() ran") } - if argv.Ctime { - doCtime(pf.Filebase) + if argv.Mtime { + doMtime(pf.Filebase) me.sh.GoodExit("doClean() ran") } @@ -100,9 +100,8 @@ func doProto(argvProto string) error { os.Setenv("PROTOBUF_REGRET", "true") } - if doCtime(pf.Filebase) { - log.Info("nothing changed. exit here") - me.sh.GoodExit("doCtime() ran") + if doMtime(pf.Filebase) { + me.sh.GoodExit(pf.Filename + " did not change") } else { log.Info("ctime check: need to re-run autogenpb") } |
