aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/relnotes.sh
diff options
context:
space:
mode:
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