Fix a virtual target bug. Add an '-i' option.

This commit is contained in:
Daniel Jones 2013-04-06 11:35:21 -07:00
parent 64263686cb
commit 3bdc96019f
2 changed files with 38 additions and 20 deletions

View file

@ -63,7 +63,7 @@ func printIndented(out io.Writer, s string, ind int) {
}
// Execute a recipe.
func dorecipe(target string, u *node, e *edge) bool {
func dorecipe(target string, u *node, e *edge, dryrun bool) bool {
vars := make(map[string][]string)
vars["target"] = []string{target}
if e.r.ismeta {