Skip to content

Commit

Permalink
Merge pull request mattn#31 from orofarne/master
Browse files Browse the repository at this point in the history
Add Gomfile dir to GOPATH
  • Loading branch information
mattn committed Jun 19, 2014
2 parents 4c29bc0 + b5ad7ba commit c388472
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, ".."))
Expand Down

0 comments on commit c388472

Please sign in to comment.