From b5ad7ba4eca53d3cc6d6738af958405dc7343ead Mon Sep 17 00:00:00 2001 From: Maxim Dementyev Date: Thu, 19 Jun 2014 12:06:26 +0400 Subject: [PATCH] Add Gomfile dir to GOPATH --- exec.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exec.go b/exec.go index 0572f8c..7fb7d0a 100644 --- a/exec.go +++ b/exec.go @@ -39,7 +39,9 @@ func ready() error { for { file := filepath.Join(dir, "Gomfile") if isFile(file) { - vendor = filepath.Join(dir, vendorFolder) + vendor = dir + + string(filepath.ListSeparator) + + filepath.Join(dir, vendorFolder) break } next := filepath.Clean(filepath.Join(dir, ".."))