From a5474a128a212d9d3aef6ca836e656692f0db86f Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 1 Mar 2014 15:44:45 -0500 Subject: [PATCH] Bug fix --- doc/conf.go | 1 + gopm.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.go b/doc/conf.go index 8d46d17cf..610da82d9 100644 --- a/doc/conf.go +++ b/doc/conf.go @@ -52,6 +52,7 @@ func init() { cfgPath := path.Join(HomeDir, GOPM_CONFIG_FILE) if !com.IsExist(cfgPath) { + os.MkdirAll(path.Dir(cfgPath), os.ModePerm) if _, err = os.Create(cfgPath); err != nil { log.Error("", "Fail to create gopm config file") log.Fatal("", err.Error()) diff --git a/gopm.go b/gopm.go index a1b8a7fcf..5f00d2467 100644 --- a/gopm.go +++ b/gopm.go @@ -29,7 +29,7 @@ import ( // Test that go1.1 tag above is included in builds. main.go refers to this definition. const go11tag = true -const APP_VER = "0.6.3.0220" +const APP_VER = "0.6.3.0301" // //cmd.CmdSearch, // cmdClean,