This commit is contained in:
Matthew Hooker 2016-11-09 17:24:48 -08:00
parent 1cf9dbf27d
commit a253cda0aa
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func (p *PostProcessor) Configure(raws ...interface{}) error {
}
if p.config.ExecuteCommand == "" {
p.config.ExecuteCommand = "chmod +x {{.Script}}; {{.Vars}} {{.Script}} {{.Artifact}}"
p.config.ExecuteCommand = "chmod +x \"{{.Script}}\"; {{.Vars}} \"{{.Script}}\" {{.Artifact}}"
}
if p.config.Inline != nil && len(p.config.Inline) == 0 {