recognize tgz in build products contents page
This commit is contained in:
parent
d9ba24b216
commit
1395717245
|
@ -256,7 +256,7 @@ sub contents : Chained('build') PathPart Args(1) {
|
||||||
error($c, "`dpkg-deb' error: $?") if $? != 0;
|
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"`;
|
$res = `tar tvfa "$path"`;
|
||||||
error($c, "`tar' error: $?") if $? != 0;
|
error($c, "`tar' error: $?") if $? != 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue