fix for gpgv upgrade 1.4 to 2.2.4
authorIan Kelling <iank@fsf.org>
Mon, 18 Oct 2021 20:25:23 +0000 (16:25 -0400)
committerJacob Bachmeyer <jcb@gnu.org>
Tue, 19 Oct 2021 01:18:52 +0000 (20:18 -0500)
upload-ftp-v1.2.pl

index 65cdb7d1a6d3972fba399c5d67fb3d93c88b8b3f..02417c769a1e0ae2fb43b206c45719124541f964 100755 (executable)
@@ -972,7 +972,7 @@ sub read_directive_file {
   # than the one for the last file that was uploaded
   # This is only relevant when a 'filename' directive is present, hence the
   # test of the $filename_required variable.
-  if (($retval =~ /Signature made (.*?) using/) && ($filename_required)) {
+  if (($retval =~ /Signature made (.*)/) && ($filename_required)) {
     my $timestr = $1;
     # If the time/date string starts with a weekday (e.g. "Wed Apr 28 16:40:03 2004 EDT"),
     # chop off the weekday - Date::Manip doesn't like it