projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation about Minix.
[gnulib.git]
/
build-aux
/
gnupload
diff --git
a/build-aux/gnupload
b/build-aux/gnupload
index
4323647
..
edb4b56
100755
(executable)
--- a/
build-aux/gnupload
+++ b/
build-aux/gnupload
@@
-1,9
+1,10
@@
#!/bin/sh
# Sign files and upload them.
#!/bin/sh
# Sign files and upload them.
-scriptversion=2010-0
1-27
.15; # UTC
+scriptversion=2010-0
5-23
.15; # UTC
-# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
#
# 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
#
# 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
@@
-31,11
+32,14
@@
delete_files=
delete_symlinks=
collect_var=
dbg=
delete_symlinks=
collect_var=
dbg=
+nl='
+'
-usage="Usage: $0 [OPTION
S]... [COMMAND] FILES... [[COMMAND] FILES
...]
+usage="Usage: $0 [OPTION
]... [CMD] FILE... [[CMD] FILE
...]
-Sign all FILES, and upload them to selected destinations, according to
-<http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html>.
+Sign all FILES, and process them at selected destinations according to CMD.
+<http://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html>
+explains further.
Commands:
--delete delete FILES from destination
Commands:
--delete delete FILES from destination
@@
-107,7
+111,8
@@
Send patches to <automake-patches@gnu.org>."
# Read local configuration file
if test -r "$conffile"; then
echo "$0: Reading configuration file $conffile"
# Read local configuration file
if test -r "$conffile"; then
echo "$0: Reading configuration file $conffile"
- eval set x "`sed 's/#.*$//;/^$/d' \"$conffile\" | tr '\012\015' ' '` \"\$@\""
+ conf=`sed 's/#.*$//;/^$/d' "$conffile" | tr "\015$nl" ' '`
+ eval set x "$conf \"\$@\""
shift
fi
shift
fi
@@
-183,7
+188,7
@@
done
dprint()
{
dprint()
{
- echo "Running $*..."
+ echo "Running $*
..."
}
if $dry_run; then
}
if $dry_run; then
@@
-247,7
+252,7
@@
echo
if test $# -ne 0; then
for file
do
if test $# -ne 0; then
for file
do
- echo "Signing $file..."
+ echo "Signing $file
..."
rm -f $file.sig
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 -ba -o $file.sig $file
done
rm -f $file.sig
echo "$passphrase" | $dbg $GPG --passphrase-fd 0 -ba -o $file.sig $file
done
@@
-386,7
+391,7
@@
for dest in $to
do
for file
do
do
for file
do
- echo "Uploading $file to $dest..."
+ echo "Uploading $file to $dest
..."
stmt=
files="$file $file.sig"
destdir=`echo $dest | sed 's/[^:]*://'`
stmt=
files="$file $file.sig"
destdir=`echo $dest | sed 's/[^:]*://'`