diff --git a/doc/progs/run b/doc/progs/run index 486ef2680c7..46de912507c 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 82e3f7b45bf..8918aab92c8 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