Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
fix for ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
Am Laher committed Oct 25, 2015
1 parent 9c9a5b2 commit 60036dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .goxc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"ResourcesInclude": "README.md,.\\_test1/*,_test2",
"ResourcesExclude": "*.go",
"PackageVersion": "0.17.1",
"PackageVersion": "0.18.1",
"TaskSettings": {
"archive-zip": {},
"bintray": {
Expand Down Expand Up @@ -60,6 +60,5 @@
}
},
"Env": [
"GOPATH=Godeps{{.PLS}}{{.Env.GOPATH}}"
]
}
}
4 changes: 2 additions & 2 deletions executils/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ func buildFlags(args map[string]interface{}, flag string) string {
for k, v := range args {
switch typedV := v.(type) {
case string:
_, err := buf.WriteString(flag + " " + k + " '" + typedV + "' ")
_, err := buf.WriteString(flag + " " + k + "='" + typedV + "' ")
if err != nil {
log.Printf("Error writing flags")
}
default:
_, err := buf.WriteString(fmt.Sprintf("%s %s '%v' ", flag, k, typedV))
_, err := buf.WriteString(fmt.Sprintf("%s %s='%v' ", flag, k, typedV))
if err != nil {
log.Printf("Error writing flags")
}
Expand Down

0 comments on commit 60036dc

Please sign in to comment.