]> Cypherpunks repositories - gostls13.git/commitdiff
make all.bash finish on FreeBSD
authorRuss Cox <rsc@golang.org>
Wed, 18 Nov 2009 17:11:17 +0000 (09:11 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 18 Nov 2009 17:11:17 +0000 (09:11 -0800)
R=dho
CC=golang-dev
https://golang.org/cl/156067

doc/progs/run
misc/cgo/stdio/test.bash

index 486ef2680c751202ca63459a6791c0a08bd45206..46de912507c310c67b6fc56b67315c67a5fa1716 100755 (executable)
@@ -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.
index 82e3f7b45bf6ece426723d9904ce7fcd7d52441b..8918aab92c8d18a715c8ad3c6488a2a6c684babd 100755 (executable)
@@ -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