diff options
author | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
---|---|---|
committer | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
commit | f154da9e12608589e8d5f0508f908a0c3e88a1bb (patch) | |
tree | f8255d51e10c6f1e0ed69702200b966c9556a431 /src/race.bash | |
parent | 8d8329ed5dfb9622c82a9fbec6fd99a580f9c9f6 (diff) | |
download | golang-upstream/1.4.tar.gz |
Imported Upstream version 1.4upstream/1.4
Diffstat (limited to 'src/race.bash')
-rwxr-xr-x | src/race.bash | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/race.bash b/src/race.bash index 1680c09e4..622584016 100755 --- a/src/race.bash +++ b/src/race.bash @@ -9,7 +9,7 @@ set -e function usage { - echo 'race detector is only supported on linux/amd64 and darwin/amd64' 1>&2 + echo 'race detector is only supported on linux/amd64, freebsd/amd64 and darwin/amd64' 1>&2 exit 1 } @@ -25,6 +25,11 @@ case $(uname) in usage fi ;; +"FreeBSD") + if [ $(uname -m) != "amd64" ]; then + usage + fi + ;; *) usage ;; |