aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBart Martens <bartm@debian.org>2011-10-28 01:50:50 +0200
committerGerfried Fuchs <rhonda@debian.org>2011-10-28 01:52:19 +0200
commit2bdba691021b961516c3ccab63b736663aff4474 (patch)
treeb7863878acceebd4a13c6a70d26f18ea7f4e5538 /bin
parentdc3cbd078cef7f4f9d3bfbc7c329167b58f317b8 (diff)
fix bashism which fails after /bin/sh -> dash (closes: #645350)
Signed-off-by: Gerfried Fuchs <rhonda@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/parse-packages3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/parse-packages b/bin/parse-packages
index 6f89070..a1c8d98 100755
--- a/bin/parse-packages
+++ b/bin/parse-packages
@@ -72,7 +72,8 @@ for my $suite (@SUITES) {
print "\tseems not to exist, skipping...\n";
next;
}
- open PKG, "zcat $TOPDIR/archive/$archive/$suite/$what/{,debian-installer/}binary-*/Packages.gz|";
+ open PKG, "zcat $TOPDIR/archive/$archive/$suite/$what/binary-*/Packages.gz"
+ . " $TOPDIR/archive/$archive/$suite/$what/debian-installer/binary-*/Packages.gz|";
while (<PKG>) {
next if /^\s*$/;
my $data = "";