diff options
author | Russ Cox <rsc@golang.org> | 2009-11-18 09:11:17 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-18 09:11:17 -0800 |
commit | 0d15a5437697094f9165b63b933192b36193a2df (patch) | |
tree | 944808c6904310e03dd53529090aa4b5fc31bdaf | |
parent | cba2fe2462fda1fe7b265f8056a89e6f6e06e938 (diff) | |
download | golang-0d15a5437697094f9165b63b933192b36193a2df.tar.gz |
make all.bash finish on FreeBSD
R=dho
CC=golang-dev
http://codereview.appspot.com/156067
-rwxr-xr-x | doc/progs/run | 2 | ||||
-rwxr-xr-x | misc/cgo/stdio/test.bash | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/progs/run b/doc/progs/run index 486ef2680..46de91250 100755 --- a/doc/progs/run +++ b/doc/progs/run @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. diff --git a/misc/cgo/stdio/test.bash b/misc/cgo/stdio/test.bash index 82e3f7b45..8918aab92 100755 --- a/misc/cgo/stdio/test.bash +++ b/misc/cgo/stdio/test.bash @@ -3,6 +3,8 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +if [ "$(uname)" = "FreeBSD" ]; then exit 0; fi + set -e gomake hello fib chain echo '*' hello >run.out |