1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

See ChangeLog: Sat Jan 9 18:54:57 CET 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-01-09 17:59:58 +00:00
parent 002b1a8632
commit 11c378119d
23 changed files with 3487 additions and 1684 deletions

51
scripts/mksnapshot Executable file
View file

@ -0,0 +1,51 @@
#!/bin/sh
# Make a snapshot of the CVS head revision
# Fixme: we should either run autoconf here or make a real distribution
set -e
cd $HOME/pub
fix_version () {
version=$(cat $1/VERSION)
echo "$version-snap$(date +%Y-%m-%d)" >$1/VERSION
cat <<EOF >$1/SNAPSHOT
WARNING!
This is a snapshot of the current CVS head branch!
It may not compile or not work. Please don't report
bugs about this snapshot release it is just for your
convenience and to reduce the load of out CVS server.
Thanks,
Werner
EOF
}
do_export () {
pgm=$1
mod=$2
rm -rf $pgm.new || true
rm -rf $pgm.old || true
cvs -Q export -r HEAD -d $pgm.new $mod
fix_version $pgm.new
[ -d $pgm ] && mv $pgm $pgm.old
if ! mv $pgm.new $pgm ; then
echo "rename failed - restoring" >&2
mv $pgm.old $pgm
exit 1
fi
rm -rf $pgm.old || true
}
do_export gnupg-snapshot gnupg
exit 0