From: Bart Martens Date: Thu, 27 Oct 2011 23:50:50 +0000 (+0200) Subject: fix bashism which fails after /bin/sh -> dash (closes: #645350) X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=2bdba691021b961516c3ccab63b736663aff4474;p=deb%2Fpackages.git fix bashism which fails after /bin/sh -> dash (closes: #645350) Signed-off-by: Gerfried Fuchs --- 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 () { next if /^\s*$/; my $data = "";