aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert1992-02-05 17:25:10 +0000
committerPaul Eggert1992-02-05 17:25:10 +0000
commitff17867bb63f7b339cf593bb1b554a86f5c976c0 (patch)
tree58483ee51c7365fdc781c085a89c0969782ded0f /lib-src
parent4ca2c4b44e025ab2478a41ef25177219388ed44e (diff)
downloademacs-ff17867bb63f7b339cf593bb1b554a86f5c976c0.tar.gz
emacs-ff17867bb63f7b339cf593bb1b554a86f5c976c0.zip
Don't munge $* when getting date from ChangeLog.
Diffstat (limited to 'lib-src')
-rwxr-xr-xlib-src/rcs2log10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index d5fe742e39f..279e78069fa 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -2,7 +2,7 @@
2 2
3# RCS to ChangeLog generator 3# RCS to ChangeLog generator
4 4
5# $Id: rcs2clog,v 1.2 1992/02/05 04:29:40 eggert Exp $ 5# $Id: rcs2clog,v 1.2 1992/02/05 04:31:18 eggert Exp eggert $
6 6
7# Generate a change log prefix from RCS/* and the existing ChangeLog (if any). 7# Generate a change log prefix from RCS/* and the existing ChangeLog (if any).
8# Output the new prefix to standard output. 8# Output the new prefix to standard output.
@@ -35,9 +35,11 @@ done
35datearg=-d'>1970' 35datearg=-d'>1970'
36if test -s ChangeLog 36if test -s ChangeLog
37then 37then
38 date=`sed 1q <ChangeLog` || exit 38 e='s/^\(...\) \(...\) \(..\) \(..:..:..\) \(....\) .*/\1 \2 \3 \4 \5/p; 1q'
39 set x $date; shift 39 date=`sed -n "$e" <ChangeLog` || exit
40 datearg="-d>$1 $2 $3 $4 $5" 40 case $date in
41 ?*) datearg="-d>$date"
42 esac
41fi 43fi
42 44
43rlogout=/tmp/chg$$ 45rlogout=/tmp/chg$$