aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/relnotes.sh
diff options
context:
space:
mode:
authorGravatar Doug Rabson <dfr@rabson.org>2015-08-25 14:12:00 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-08-26 07:37:57 +0000
commit709bc61850f031a08c602c653598e9c409c96856 (patch)
tree2a6f582386ead9c54e42a0d115518fb2270b2076 /scripts/release/relnotes.sh
parent590ea39a05d66b44a459661898c34abc8cc8a937 (diff)
Port to FreeBSD.
-- Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840 MOS_MIGRATED_REVID=101462155
Diffstat (limited to 'scripts/release/relnotes.sh')
-rwxr-xr-xscripts/release/relnotes.sh8
1 files changed, 4 insertions, 4 deletions
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