mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
.
This commit is contained in:
parent
843742c086
commit
a06bc6ffd8
@ -4,8 +4,10 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd $HOME/pub
|
ftp_dir=$1
|
||||||
|
|
||||||
|
cd $HOME/pub
|
||||||
|
PATH="$HOME/bin:$PATH"
|
||||||
|
|
||||||
fix_version () {
|
fix_version () {
|
||||||
version=$(cat $1/VERSION)
|
version=$(cat $1/VERSION)
|
||||||
@ -25,6 +27,14 @@ Thanks,
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_dist () {
|
||||||
|
set +e
|
||||||
|
nice scripts/autogen.sh && nice ./configure && nice make dist
|
||||||
|
rm $ftp_dir/gnupg-*snap*-*-*.tar.gz
|
||||||
|
mv gnupg-*.tar.gz $ftp_dir/
|
||||||
|
set -e
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
do_export () {
|
do_export () {
|
||||||
pgm=$1
|
pgm=$1
|
||||||
@ -34,6 +44,12 @@ do_export () {
|
|||||||
rm -rf $pgm.old || true
|
rm -rf $pgm.old || true
|
||||||
cvs -Q export -r HEAD -d $pgm.new $mod
|
cvs -Q export -r HEAD -d $pgm.new $mod
|
||||||
fix_version $pgm.new
|
fix_version $pgm.new
|
||||||
|
if [ -n "$ftp_dir" ]; then
|
||||||
|
here=$(pwd)
|
||||||
|
cd $pgm.new
|
||||||
|
build_dist
|
||||||
|
cd $here
|
||||||
|
fi
|
||||||
[ -d $pgm ] && mv $pgm $pgm.old
|
[ -d $pgm ] && mv $pgm $pgm.old
|
||||||
if ! mv $pgm.new $pgm ; then
|
if ! mv $pgm.new $pgm ; then
|
||||||
echo "rename failed - restoring" >&2
|
echo "rename failed - restoring" >&2
|
||||||
|
@ -44,6 +44,10 @@ Updated: $updated \\
|
|||||||
r $src/BUGS
|
r $src/BUGS
|
||||||
d
|
d
|
||||||
}
|
}
|
||||||
|
/@HOSTEDBY@/ {
|
||||||
|
r $src/hostedby.html.inc
|
||||||
|
d
|
||||||
|
}
|
||||||
" $sf > $df
|
" $sf > $df
|
||||||
;;
|
;;
|
||||||
*.html.inc | *~ | *.tmp | */BUGS )
|
*.html.inc | *~ | *.tmp | */BUGS )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user