recognize tgz in build products contents page

This commit is contained in:
Rob Vermaas 2011-11-16 10:32:32 -05:00
parent d9ba24b216
commit 1395717245

View file

@ -256,7 +256,7 @@ sub contents : Chained('build') PathPart Args(1) {
error($c, "`dpkg-deb' error: $?") if $? != 0;
}
elsif ($path =~ /\.tar(\.gz|\.bz2|\.xz|\.lzma)?$/ ) {
elsif ($path =~ /\.(tar(\.gz|\.bz2|\.xz|\.lzma)?|tgz)$/ ) {
$res = `tar tvfa "$path"`;
error($c, "`tar' error: $?") if $? != 0;
}