make reasonable tempfile default on windows
This commit is contained in:
parent
fa99f931b7
commit
f5355a0693
|
@ -91,6 +91,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