Commit b2192adf authored by Sam Hocevar's avatar Sam Hocevar

* toolbox: Attempt to fix a strange cvs2cl behaviour.

parent 63bed47c
#! /bin/sh #! /bin/sh
## toolbox for the VLC media player ## toolbox for the VLC media player
## $Id: toolbox,v 1.48 2003/11/04 15:26:04 sam Exp $ ## $Id: toolbox,v 1.49 2003/11/26 23:32:07 sam Exp $
## ##
## Authors: Samuel Hocevar <sam@zoy.org> ## Authors: Samuel Hocevar <sam@zoy.org>
...@@ -119,7 +119,7 @@ then ...@@ -119,7 +119,7 @@ then
cvs2cl --help >/dev/null 2>&1 || exit 1 cvs2cl --help >/dev/null 2>&1 || exit 1
rm -f ChangeLog ChangeLog.tmp rm -f ChangeLog ChangeLog.tmp
cvs2cl --utc --hide-filenames --no-wrap -w --stdout -g -z9 | \ cvs2cl --utc --hide-filenames --no-wrap -w --stdout -g -z9 | \
sed -e 's/^[^0-9]/ /' -e 's/^ *$//' | \ sed -e 's/^[^0-9]/ /' -e 's/^ *$//' -e 's/\* . / /g' | \
uniq > ChangeLog.tmp uniq > ChangeLog.tmp
YEAR=`sed -e 's/\(....\)-..-.*/\1/;q' ChangeLog.tmp` YEAR=`sed -e 's/\(....\)-..-.*/\1/;q' ChangeLog.tmp`
LASTYEAR="$((${YEAR} - 1))" LASTYEAR="$((${YEAR} - 1))"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment