Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / scripts / nightly / pkg / changelogs-all
blob28956e17db0a85f520b193d5a1b6e9caec055b27
1 #!/bin/zsh
2 # Creates changelogs packages.
4 source $SP/setup
5 setl changelogs-all.log
7 ARCHIVE_BASE=$ARCHIVE_BASE/ChangeLogs
9 printi "Creating ChangeLogs..."
10 makedir $ARCHIVE_BASE
12 #-- Generate ChangeLogs -----------------------------------------------------------
13 alias cvs2cl='$ROOT/Scripts/cvs2cl.pl --xml --xml-encoding iso-8859-15 --noxmlns'
14 ChangeLog()
16 module=$1
17 dir=$2
19 oldpwd=$PWD
21 printi "Generating ChangeLog for the" $module "module"
22 cd $dir
23 cvs2cl -l "-d'>1 day ago'" -f $ARCHIVE_BASE/$BASENAME-ChangeLog-$module.xml
25 if [ -e $ARCHIVE_BASE/$BASENAME-ChangeLog-$module.xml ]; then
26 cd $ARCHIVE_BASE
27 md5sum $BASENAME-ChangeLog-$module.xml > $BASENAME-ChangeLog-$module.xml.md5
30 cd $oldpwd
33 ChangeLog AROS $SOURCE_AROS
34 ChangeLog contrib $SOURCE_CONTRIB
35 ChangeLog docs $SOURCE_DOCS
37 resetl