From 709bc61850f031a08c602c653598e9c409c96856 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Tue, 25 Aug 2015 14:12:00 +0000 Subject: Port to FreeBSD. -- Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840 MOS_MIGRATED_REVID=101462155 --- scripts/release/relnotes.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/release/relnotes.sh') diff --git a/scripts/release/relnotes.sh b/scripts/release/relnotes.sh index ce256b2883..15abbd1cb7 100755 --- a/scripts/release/relnotes.sh +++ b/scripts/release/relnotes.sh @@ -97,14 +97,14 @@ function get_release_notes() { done } -# fmt behaves a bit different on GNU/Linux than on darwin. -if [ "$(uname -s | tr 'A-Z' 'a-z')" = "darwin" ]; then +# fmt behaves a bit different on GNU/Linux than on BSDs. +if [ "$(uname -s | tr 'A-Z' 'a-z')" = "linux" ]; then function wrap_text() { - fmt -w $1 + fmt -w $1 -g $1 } else function wrap_text() { - fmt -w $1 -g $1 + fmt -w $1 } fi -- cgit v1.2.3