mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 06:10:23 -04:00
9 lines
161 B
Go
9 lines
161 B
Go
package dockerfile
|
|
|
|
func defaultShellForOS(os string) []string {
|
|
if os == "linux" {
|
|
return []string{"/bin/sh", "-c"}
|
|
}
|
|
return []string{"cmd", "/S", "/C"}
|
|
}
|