bee fix the path.EvalSymlinks

This commit is contained in:
astaxie 2014-05-17 02:48:18 +08:00
parent 7f0e4f024c
commit a6f9c78aaa
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ func checkEnv(appname string) (apppath, packpath string, err error) {
haspath := false
wgopath := path.SplitList(gopath)
for _, wg := range wgopath {
wg = path.Join(wg, "src")
wg, _ = path.EvalSymlinks(path.Join(wg, "src"))
if path.HasPrefix(strings.ToLower(curpath), strings.ToLower(wg)) {
haspath = true