The following commit has been merged in the master branch:
commit c1eb482d4499f41879a2cafe027274926e70a98b
Author: Adam D. Barratt <[email protected]>
Date: Fri Apr 2 21:04:08 2010 +0100
Use "==" for numeric comaprison
* private/refresh-virtual-packages-data:
+ [ADB] Use "==" for numeric comparison, not "eq".
diff --git a/debian/changelog b/debian/changelog
index 3873a81..199122c 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -88,6 +88,9 @@ lintian (2.4.0) UNRELEASED; urgency=low
file_start()
+ [ADB] Don't refer to .changes files as "packages"
+ * private/refresh-virtual-packages-data:
+ + [ADB] Use "==" for numeric comparison, not "eq".
+
* t/runtests:
+ [ADB] Don't flag lintian output lines for .changes tags as invalid
+ [ADB] When checking the number of jobs to run in parallel, use "=="
diff --git a/private/refresh-virtual-packages-data
b/private/refresh-virtual-packages-data
index b6510e2..9c3e033 100755
--- a/private/refresh-virtual-packages-data
+++ b/private/refresh-virtual-packages-data
@@ -120,7 +120,7 @@ fi
}
for my $pkg (keys %seen) {
print "$pkg\n"
- unless ($seen{$pkg} eq 1 or exists($pkgs{$pkg}));
+ unless ($seen{$pkg} == 1 or exists($pkgs{$pkg}));
}' \
| sort -u >> "$workdir/virtual-packages"
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]