Merge pull request #6626 from hashicorp/fix_6620
make reasonable tempfile default on windows
This commit is contained in:
commit
8309f36176
|
@ -94,6 +94,9 @@ func Validate(config *Config) error {
|
|||
"{{.Script}}",
|
||||
}
|
||||
}
|
||||
if len(config.TempfileExtension) == 0 {
|
||||
config.TempfileExtension = ".cmd"
|
||||
}
|
||||
} else {
|
||||
if config.InlineShebang == "" {
|
||||
config.InlineShebang = "/bin/sh -e"
|
||||
|
|
Loading…
Reference in New Issue