aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/common.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-27 10:17:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-27 10:22:23 +0200
commit788351b1b0e62c36e19eba6610690382cdd2dd79 (patch)
treef25caf9d82d42e1805450469069e59f9c3f3c19d /pkg/csource/common.go
parentb25fc7b83119e8dca728a199fd92e24dd4c33fa4 (diff)
pkg/csource: rewrite gen.sh in Go
Shell files cause portability problems. On Linux it's hard to install /bin/sh, /bin/bash is not present on *BSD. Any solution is hard to test on Darwin. Don't even want to mention Windows. Just do it in Go.
Diffstat (limited to 'pkg/csource/common.go')
-rw-r--r--pkg/csource/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/common.go b/pkg/csource/common.go
index a03fba056..899d350e1 100644
--- a/pkg/csource/common.go
+++ b/pkg/csource/common.go
@@ -1,7 +1,7 @@
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-//go:generate ./gen.sh
+//go:generate go run gen.go
package csource