(Imported from Automake.)
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Oct 2006 21:05:39 +0000 (21:05 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Oct 2006 21:05:39 +0000 (21:05 +0000)
* build-aux/gnupload: Update to version 1.1 of directive file.

ChangeLog
build-aux/gnupload

index b7fe9db..addf6ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-16  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       (Imported from Automake.)
+       * build-aux/gnupload: Update to version 1.1 of directive file.
+
 2006-10-16  Eric Blake  <ebb9@byu.net>
 
        * modules/configmake (Makefile.am): Add pkglibexecdir support, to
index 9949157..0bee210 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Sign files and upload them.
 
-scriptversion=2006-05-11.09
+scriptversion=2006-10-15.21
 
 # Copyright (C) 2004, 2005, 2006  Free Software Foundation
 #
@@ -143,14 +143,22 @@ do
     case $dest in
       alpha.gnu.org:*)
        rm -f $file.directive $file.directive.asc
-       echo directory: $destdir >$file.directive
+       cat >$file.directive<<EOF
+version: 1.1
+directory: $destdir
+filename: $file
+EOF
        echo "$passphrase" | $GPG --passphrase-fd 0 --clearsign $file.directive
         ncftpput ftp-upload.gnu.org /incoming/alpha $files $file.directive.asc
        rm -f $file.directive $file.directive.asc
        ;;
       ftp.gnu.org:*)
        rm -f $file.directive $file.directive.asc
-       echo directory: $destdir >$file.directive
+       cat >$file.directive<<EOF
+version: 1.1
+directory: $destdir
+filename: $file
+EOF
        echo "$passphrase" | $GPG --passphrase-fd 0 --clearsign $file.directive
         ncftpput ftp-upload.gnu.org /incoming/ftp $files $file.directive.asc
        rm -f $file.directive $file.directive.asc