unix: fix mkall.sh and mksyscall.pl

Each language has its own operators.

Change-Id: I765d4d56aeafe693d22914de7ee970d7b1928a25
Reviewed-on: https://go-review.googlesource.com/41832
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Mikio Hara
2017-04-27 04:04:42 +00:00
parent 9f30dcbe5b
commit 9141ece15e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ case "$#" in
exit 2
esac
if [[ "$GOOS" -eq "linux" ]] && [[ "$GOARCH" != "sparc64" ]]; then
if [[ "$GOOS" = "linux" ]] && [[ "$GOARCH" != "sparc64" ]]; then
# Use then new build system
# Files generated through docker (use $cmd so you can Ctl-C the build or run)
$cmd docker build --tag generate:$GOOS $GOOS