[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r199 - branches/1.23.0/checks



Author: jeroen
Date: 2004-04-20 00:55:37 +0200 (Tue, 20 Apr 2004)
New Revision: 199

Modified:
   branches/1.23.0/checks/debdiff
Log:
Epochs of 10 and higher are also possible...

Modified: branches/1.23.0/checks/debdiff
===================================================================
--- branches/1.23.0/checks/debdiff	2004-04-19 21:31:19 UTC (rev 198)
+++ branches/1.23.0/checks/debdiff	2004-04-19 22:55:37 UTC (rev 199)
@@ -28,7 +28,7 @@
 open (VERSION, "fields/version") or fail("cannot open fields/version: $!");
 chomp(my $version = <VERSION>);
 close VERSION;
-$version =~ s/^\d://; #Remove epoch
+$version =~ s/^\d+://; #Remove epoch
 
 if ((not -f "${pkg}_${version}.diff.gz") and
     ($version =~ /-/) and ($version !~ /-0\.\d+(?:\.\d+)?$/) ) {



Reply to: