aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-08-21 18:47:33 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-08-21 18:47:33 +0000
commit5d24089a652310afffb63ef07695eba24300f1ed (patch)
tree0b217406df76d07b0de7810ec1a7977701d0573d /Tools
parentf90eb2e6147b0f69d42640125304a28f39faee37 (diff)
downloadports-5d24089a652310afffb63ef07695eba24300f1ed.tar.gz
ports-5d24089a652310afffb63ef07695eba24300f1ed.zip
- Eat excess newline at the end of the commit log.
Notes
Notes: svn path=/head/; revision=365580
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}"