From d21a55785e4719434d8d70a24b83ec3512a42549 Mon Sep 17 00:00:00 2001 From: asoseil Date: Wed, 10 Jan 2018 10:52:32 +0100 Subject: [PATCH] #154 fixed --- realize/projects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/projects.go b/realize/projects.go index 97f3674..d855651 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -572,7 +572,7 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err name := filepath.Base(path) if path == "." && p.Tools.Run.Dir == "" { name = filepath.Base(Wdir()) - } else { + } else if p.Tools.Run.Dir != ""{ name = filepath.Base(dirPath) } path = filepath.Join(dirPath, name)