From 9a29a7759f49cf7d7edf9980cd9abd9bb20ee608 Mon Sep 17 00:00:00 2001 From: weasel Date: Sat, 31 Jul 2010 11:34:56 +0000 Subject: [PATCH] caff: Handle $Rev$ not being expanded git-svn-id: svn://svn.debian.org/pgp-tools/trunk@470 b513b33f-fedd-0310-b452-c3deb5f4c849 --- caff/caff | 1 + 1 file changed, 1 insertion(+) diff --git a/caff/caff b/caff/caff index f32d5b5..f3708a9 100755 --- a/caff/caff +++ b/caff/caff @@ -325,6 +325,7 @@ use GnuPG::Interface; my %CONFIG; my $REVISION = '$Rev$'; my ($REVISION_NUMER) = $REVISION =~ /(\d+)/; +$REVISION_NUMER = 'unknown' unless defined $REVISION_NUMER; my $VERSION = "0.0.0.$REVISION_NUMER"; # Global variables -- 2.39.5