From 4274dce3366cee45bfaccbe5ca340ce6efe68e00 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 8 Nov 2021 17:54:59 +0300 Subject: [PATCH] isModified check must only look at ifchanges --- run.go | 2 +- usage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run.go b/run.go index ca51457..0178d72 100644 --- a/run.go +++ b/run.go @@ -143,7 +143,7 @@ func isModified(cwd, redoDir, tgt string) (bool, *Inode, error) { } return false, nil, err } - if m["Target"] != tgt { + if m["Type"] != DepTypeIfchange || m["Target"] != tgt { continue } fd, err := os.Open(path.Join(cwd, tgt)) diff --git a/usage.go b/usage.go index bf27c1b..7de522f 100644 --- a/usage.go +++ b/usage.go @@ -24,7 +24,7 @@ import ( ) const ( - Version = "1.18.0" + Version = "1.19.0" Warranty = `Copyright (C) 2020-2021 Sergey Matveev This program is free software: you can redistribute it and/or modify -- 2.44.0