The following commit has been merged in the ubuntu-master branch:
commit 54975a59fc8a5a381f07b842f34bb6fc3a17b60a
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date: Tue Jun 10 22:18:36 2008 +0100
[UBUNTU] Remove bashism in open() call
We delegate globbing to /bin/sh here, so don't assume
that is bash.
diff --git a/bin/parse-packages b/bin/parse-packages
index 97edffc..15eae16 100755
--- a/bin/parse-packages
+++ b/bin/parse-packages
@@ -68,11 +68,12 @@ for my $suite (@SUITES) {
for my $archive (@ARCHIVES) {
print "Reading $archive/$suite...\n";
- if (!-d "$TOPDIR/archive/$archive/$suite/") {
+ my $suite_dir = "$TOPDIR/archive/$archive/$suite";
+ if (!-d $suite_dir) {
print "\tseems not to exist, skipping...\n";
next;
}
- open PKG, "zcat
$TOPDIR/archive/$archive/$suite/$what/{,debian-installer/}binary-*/Packages.gz|";
+ open PKG, "zcat $suite_dir/$what/binary-*/Packages.gz
$suite_dir/$what/debian-installer/binary-*/Packages.gz|";
while (<PKG>) {
next if /^\s*$/;
my $data = "";
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]