aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/mkall.sh
diff options
context:
space:
mode:
authorJoe Richey joerichey@google.com <joerichey@google.com>2017-06-08 10:54:14 -0700
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-06-15 22:32:35 -0700
commitd71b7f248e21f5254c32ecbf752a1dbe940a1177 (patch)
treefd28a8f577ead500736cde46d8eb0647ae31415d /vendor/golang.org/x/sys/unix/mkall.sh
parentea3e258610340de0dd585c221f4e18a199f16bca (diff)
vendor: update x/sys/unix
This commit updates the vendored x/sys/unix to the current version. This means that our vendored version of x/sys/unix no longer contains custom patches. A few changes are needed in InsertPolicyKey() as the final API differed slightly from our patches. Change-Id: Ifff31c04e708f9dc4395ab5bfcc94e42fb46dea5
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mkall.sh')
-rwxr-xr-xvendor/golang.org/x/sys/unix/mkall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/mkall.sh b/vendor/golang.org/x/sys/unix/mkall.sh
index a1a27ae..f0d6566 100755
--- a/vendor/golang.org/x/sys/unix/mkall.sh
+++ b/vendor/golang.org/x/sys/unix/mkall.sh
@@ -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