mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 00:32:09 -04:00
make period stripping more strict so that users can disable provisiners by adding .old or whatever; this is pretty typical convention.
This commit is contained in:
parent
391cea13ed
commit
ced2e945e3
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ func (c *config) discoverSingle(glob string) (map[string]string, error) {
|
|||
}
|
||||
|
||||
// If the filename has a ".", trim up to there
|
||||
if idx := strings.Index(file, "."); idx >= 0 {
|
||||
if idx := strings.Index(file, ".exe"); idx >= 0 {
|
||||
file = file[:idx]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue