X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fgnupload;h=b90e3ae231224e37ca8fac88162995a9edf846f7;hb=0494ee29c036b7109c3c8a87cdd31d1ee34b820f;hp=5b235c47d1641acce441758f51e999a2abcb6f97;hpb=0759f9fc5c9f27e8dc463084997f279ae1d9944c;p=gnulib.git
diff --git a/build-aux/gnupload b/build-aux/gnupload
index 5b235c47d..b90e3ae23 100755
--- a/build-aux/gnupload
+++ b/build-aux/gnupload
@@ -1,9 +1,9 @@
#!/bin/sh
# Sign files and upload them.
-scriptversion=2007-06-30.12
+scriptversion=2008-04-02.19
-# Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
+# Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,15 +16,13 @@ scriptversion=2007-06-30.12
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program. If not, see .
# Originally written by Alexandre Duret-Lutz .
set -e
-GPG='/usr/bin/gpg --batch --no-tty'
+GPG='gpg --batch --no-tty'
to=
usage="Usage: $0 [OPTIONS]... FILES...
@@ -47,7 +45,11 @@ Recognized destinations are:
build directive files and upload files by FTP
[user@]host:DIRECTORY upload files with scp
-Example:
+Simple single-target single-file examples:
+ gnupload --to alpha.gnu.org:automake automake-1.8.2b.tar.gz
+ gnupload --to ftp.gnu.org:automake automake-1.8.3.tar.gz
+
+Multiple-target multiple-file example:
gnupload --to sources.redhat.com:~ftp/pub/automake \\
--to alpha.gnu.org:automake \\
automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2
@@ -147,7 +149,7 @@ do
cat >$file.directive<$file.directive<