From 788351b1b0e62c36e19eba6610690382cdd2dd79 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 27 Jul 2018 10:17:52 +0200 Subject: 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. --- pkg/csource/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/csource/common.go') 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 -- cgit mrf-deployment