1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Don't munge $* when getting date from ChangeLog.

This commit is contained in:
Paul Eggert 1992-02-05 17:25:10 +00:00
parent 4ca2c4b44e
commit ff17867bb6

View File

@ -2,7 +2,7 @@
# RCS to ChangeLog generator
# $Id: rcs2clog,v 1.2 1992/02/05 04:29:40 eggert Exp $
# $Id: rcs2clog,v 1.2 1992/02/05 04:31:18 eggert Exp eggert $
# Generate a change log prefix from RCS/* and the existing ChangeLog (if any).
# Output the new prefix to standard output.
@ -35,9 +35,11 @@ done
datearg=-d'>1970'
if test -s ChangeLog
then
date=`sed 1q <ChangeLog` || exit
set x $date; shift
datearg="-d>$1 $2 $3 $4 $5"
e='s/^\(...\) \(...\) \(..\) \(..:..:..\) \(....\) .*/\1 \2 \3 \4 \5/p; 1q'
date=`sed -n "$e" <ChangeLog` || exit
case $date in
?*) datearg="-d>$date"
esac
fi
rlogout=/tmp/chg$$