Merge pull request #1959 from ryanuber/h-atlas

post-processor/atlas: fix index out of range panic
pull/1882/merge
Mitchell Hashimoto 11 years ago
commit 10e35a5e8c

@ -169,7 +169,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
// Modify the archive options to only include the files
// that are in our file list.
include := make([]string, 0, len(fs))
include := make([]string, len(fs))
for i, f := range fs {
include[i] = strings.Replace(f, path, "", 1)
}

Loading…
Cancel
Save