aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-08-22 02:47:33 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-08-22 02:47:33 +0800
commit2858de0b514a9fe155603bffd87471c1911a9d12 (patch)
tree0b217406df76d07b0de7810ec1a7977701d0573d /Tools
parent5ca1d7d1753ed19cd96e3043237239995e120590 (diff)
downloadfreebsd-ports-gnome-2858de0b514a9fe155603bffd87471c1911a9d12.tar.gz
freebsd-ports-gnome-2858de0b514a9fe155603bffd87471c1911a9d12.tar.zst
freebsd-ports-gnome-2858de0b514a9fe155603bffd87471c1911a9d12.zip
- Eat excess newline at the end of the commit log.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/mfh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/mfh b/Tools/scripts/mfh
index c20208cfdf73..cd15c8cc2caa 100755
--- a/Tools/scripts/mfh
+++ b/Tools/scripts/mfh
@@ -89,7 +89,8 @@ for f in $("${svn}" diff --summarize -c ${rev} svn://${svnserver}/ports/head); d
done
filelist=$(printf '%s\n' "${filelist}" | sort -u)
echo "MFH: r${rev}" > commit.txt
-"${svn}" log -r${rev} svn://${svnserver}/ports/head | sed '1,2d;$d;/^MFH:/d' >> commit.txt
+"${svn}" log -r${rev} svn://${svnserver}/ports/head | sed '1,2d;$d;/^MFH:/d' \
+ | sed '$d' >> commit.txt
"${svn}" up --parents $(printf '%s\n' $filelist \
| sed "s}^}${branch}/}")
"${svn}" up --quiet "${branch}"