From 4c64f9e88859ab7649383c4ef44ce85884337019 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 29 Nov 2013 14:31:37 +0800 Subject: [PATCH] get bug fixed --- cmd/get.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/get.go b/cmd/get.go index 8d59d8299..393e901d8 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -202,11 +202,11 @@ func downloadPackages(ctx *cli.Context, nodes []*doc.Node) { var gf *goconfig.ConfigFile // Check if has gopmfile - if com.IsFile(installPath + "/.gopmfile") { + if com.IsFile(installPath + "/" + GopmFileName) { log.Log("Found gopmgile: %s@%s:%s", n.ImportPath, n.Type, doc.CheckNodeValue(n.Value)) - gf = doc.NewGopmfile(installPath + "/.gopmfile") + gf = doc.NewGopmfile(installPath /* + "/.gopmfile"*/) } // Need to download dependencies.