changed package command to mc (#1796)

* changed package command to mc

* changed package from command to mc
This commit is contained in:
Remco Verhoef
2016-08-15 09:05:52 -07:00
committed by Anand Babu (AB) Periasamy
parent 951429fe67
commit 3603766f1c
80 changed files with 93 additions and 93 deletions
+4 -4
View File
@@ -28,10 +28,10 @@ import (
func genLDFlags(version string) string {
var ldflagsStr string
ldflagsStr = "-X github.com/minio/mc/command.MCVersion=" + version + " "
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/command.MCReleaseTag=" + releaseTag(version) + " "
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/command.MCCommitID=" + commitID() + " "
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/command.MCShortCommitID=" + commitID()[:12]
ldflagsStr = "-X github.com/minio/mc/mc.MCVersion=" + version + " "
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/mc.MCReleaseTag=" + releaseTag(version) + " "
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/mc.MCCommitID=" + commitID() + " "
ldflagsStr = ldflagsStr + "-X github.com/minio/mc/mc.MCShortCommitID=" + commitID()[:12]
return ldflagsStr
}