From: Russ Cox Date: Wed, 18 Nov 2009 17:11:17 +0000 (-0800) Subject: make all.bash finish on FreeBSD X-Git-Tag: weekly.2009-12-07~223 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=43bcf47912c3b0f565597ee33d86695e530d79da;p=gostls13.git make all.bash finish on FreeBSD R=dho CC=golang-dev https://golang.org/cl/156067 --- diff --git a/doc/progs/run b/doc/progs/run index 486ef2680c..46de912507 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 82e3f7b45b..8918aab92c 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