From c8c8c57fd1e1a977c10821a559dda983a9a9a3b5 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 11 Mar 2019 09:52:23 +0100 Subject: [PATCH] unix: run mkasm independent of mktypes in mkall.sh Move the $mkasm invocation out of the if [ -n "$mktypes" ] Change-Id: I6fd34703e2f438b23adceada3161fc4b40ba4fce Reviewed-on: https://go-review.googlesource.com/c/sys/+/166467 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- unix/mkall.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unix/mkall.sh b/unix/mkall.sh index 75152f99..1e5c59d0 100755 --- a/unix/mkall.sh +++ b/unix/mkall.sh @@ -207,8 +207,6 @@ esac esac if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi - if [ -n "$mktypes" ]; then - echo "$mktypes types_$GOOS.go | go run mkpost.go > ztypes_$GOOSARCH.go"; + if [ -n "$mktypes" ]; then echo "$mktypes types_$GOOS.go | go run mkpost.go > ztypes_$GOOSARCH.go"; fi if [ -n "$mkasm" ]; then echo "$mkasm $GOARCH"; fi - fi ) | $run