summaryrefslogtreecommitdiff
path: root/build-aux/announce-gen
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-04-19 16:39:12 +0200
committerJim Meyering <meyering@redhat.com>2012-04-19 16:39:12 +0200
commita8bc28b1134a2cf890ced48cfbe5b5b4792318b0 (patch)
tree1cff118c63ab78adbd619fac91640080361b424c /build-aux/announce-gen
parent28c2a36d502603738c26d59f7d9bd16f27010835 (diff)
downloadgnulib-a8bc28b1134a2cf890ced48cfbe5b5b4792318b0.tar.gz
announce-gen: avoid failure due to lack of Digest::SHA1
Even with the preferred Digest::SHA available, this script would fail when the backup module, Digest::SHA1, was not installed. * build-aux/announce-gen: Quote the conditional use of "use". Reported by Reuben Thomas in: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30444
Diffstat (limited to 'build-aux/announce-gen')
-rwxr-xr-xbuild-aux/announce-gen4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/announce-gen b/build-aux/announce-gen
index b9c9360a73..8c6ed36829 100755
--- a/build-aux/announce-gen
+++ b/build-aux/announce-gen
@@ -3,7 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
if 0;
# Generate a release announcement message.
-my $VERSION = '2012-03-20 23:17'; # UTC
+my $VERSION = '2012-04-19 14:36'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
@@ -31,7 +31,7 @@ use strict;
use Getopt::Long;
use Digest::MD5;
eval { require Digest::SHA; }
- or eval { use Digest::SHA1; };
+ or eval 'use Digest::SHA1';
use POSIX qw(strftime);
(my $ME = $0) =~ s|.*/||;