changeset 27197:23c4965d88ff

(Imported from Automake.) * build-aux/gnupload: Update to version 1.1 of directive file.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 16 Oct 2006 21:05:39 +0000
parents 835613c12d06
children d6bfdb2d2751
files ChangeLog build-aux/gnupload
diffstat 2 files changed, 16 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 16 17:43:14 2006 +0000
+++ b/ChangeLog	Mon Oct 16 21:05:39 2006 +0000
@@ -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
--- a/build-aux/gnupload	Mon Oct 16 17:43:14 2006 +0000
+++ b/build-aux/gnupload	Mon Oct 16 21:05:39 2006 +0000
@@ -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 @@
     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