Update build.go

This commit is contained in:
Audrius Butkevicius 2019-08-24 11:34:03 +01:00 committed by GitHub
parent c2d1a13208
commit d3edef887a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,8 @@ func main() {
}
}
func runCmd(args ...string) error {
cmd := exec.Command(args[0], args[1:]...)
func runCmd(arg string, args ...string) error {
cmd := exec.Command(arg, args...)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout