From 1395717245268ad07daa2cd0136b26bdd3430655 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Wed, 16 Nov 2011 10:32:32 -0500 Subject: [PATCH] recognize tgz in build products contents page --- src/lib/Hydra/Controller/Build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index 7cdbbe98..c799d0c0 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -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; }