Author: adam-guest
Date: 2008-04-08 12:51:09 +0000 (Tue, 08 Apr 2008)
New Revision: 1314
Modified:
trunk/debian/changelog
trunk/scripts/debsign.sh
Log:
+ Use a case-insensitive search for field names
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-08 10:29:58 UTC (rev 1313)
+++ trunk/debian/changelog 2008-04-08 12:51:09 UTC (rev 1314)
@@ -8,6 +8,7 @@
file
+ Abort if the Format field of the .changes file is unsupported
(greater than 1.8, less than 1.7 or non-numeric)
+ + Use a case-insensitive search for field names
[ James Vega ]
* debian/control: Set subversion as the first VCS Recommends alternative.
Modified: trunk/scripts/debsign.sh
===================================================================
--- trunk/scripts/debsign.sh 2008-04-08 10:29:58 UTC (rev 1313)
+++ trunk/scripts/debsign.sh 2008-04-08 12:51:09 UTC (rev 1314)
@@ -390,11 +390,11 @@
die "Unsupported .changes format: $format\n"
if($format > 1.8 or $format < 1.7);
}
- /^Files:/ && ($infiles=1,$insha1=0,$insha256=0);
- if(/^Checksums-Sha1:/) {$insha1=1;$infiles=0;$insha256=0;}
- elsif(/^Checksums-Sha256:/) {
+ /^Files:/i && ($infiles=1,$insha1=0,$insha256=0);
+ if(/^Checksums-Sha1:/i) {$insha1=1;$infiles=0;$insha256=0;}
+ elsif(/^Checksums-Sha256:/i) {
$insha256=1;$infiles=0;$insha1=0;
- } elsif(/^Checksums-.*?:/) {
+ } elsif(/^Checksums-.*?:/i) {
die "Unknown checksum format: $_\n";
}
/^\s*$/ && ($infiles=0,$insha1=0,$insha256=0);
--
To unsubscribe, send mail to [EMAIL PROTECTED]