summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-03-06 19:19:48 +0000
committerKarl Berry <karl@freefriends.org>2009-03-06 19:19:48 +0000
commit3ebe82fac1ac3ce2830c0d06dc4c287665068e09 (patch)
tree9d36e11b30c452035373f3ea2c4492291eab3963
parent971b6e6f8cd02ecf01cb4af6a0c5c783754dc2da (diff)
move svnchangelog.sed to libexec, now that we have it
git-svn-id: svn://tug.org/texlive/trunk@12324 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/svnchangelog2
-rwxr-xr-xMaster/tlpkg/bin/svnchangelog.sed43
2 files changed, 1 insertions, 44 deletions
diff --git a/Master/tlpkg/bin/svnchangelog b/Master/tlpkg/bin/svnchangelog
index d7660b7e120..66d4e3584b3 100755
--- a/Master/tlpkg/bin/svnchangelog
+++ b/Master/tlpkg/bin/svnchangelog
@@ -68,7 +68,7 @@ if ! $chicken && $rotate; then
fi
# prepend new changes to current log, and put log messages first.
-$mydir/svnchangelog.sed $newlogs >$outfile.new
+$mydir/../libexec/svnchangelog.sed $newlogs >$outfile.new
cat $outfile >>$outfile.new
if $debug; then # really debug
diff --git a/Master/tlpkg/bin/svnchangelog.sed b/Master/tlpkg/bin/svnchangelog.sed
deleted file mode 100755
index 699cacce1f9..00000000000
--- a/Master/tlpkg/bin/svnchangelog.sed
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /bin/sed -nf
-# $Id$
-# Written by Werner Lemberg, 25may06. Public domain.
-# svn log outputs the paths first, then the log message. This sed
-# script reverses that.
-
-:main
-/------------------------------------------------------------------------/ {
- p
- n
- /r[0-9][0-9]* / {
- p
- n
- /^Changed paths:$/ {
- h
- n
-
- :loop1
- /^$/! {
- H
- n
- bloop1
- }
-
- :loop2
- /------------------------------------------------------------------------/! {
- p
- n
- bloop2
- }
-
- i\
-
- x
- p
- g
- bmain
- }
- }
- bmain
-}
-
-p