Merge branch 'master' of github.com:astaxie/bee

This commit is contained in:
Unknown 2013-08-15 20:36:12 +08:00
commit 10576797a3
1 changed files with 2 additions and 2 deletions

4
new.go
View File

@ -56,9 +56,9 @@ func createApp(cmd *Command, args []string) {
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)) {
if strings.HasPrefix(strings.ToLower(curpath), strings.ToLower(wg)) {
haspath = true
appsrcpath = wg
break