X-Git-Url: https://git.jankratochvil.net/?p=macros.git;a=blobdiff_plain;f=AutoGen.pm;fp=AutoGen.pm;h=52074ebe4765fa5eff5b6e253155338821b1ffc7;hp=0947a21437a7be5d805699c406e154c0d8aee9a1;hb=3c47af06fba573a1d76a6707f5efc9102477645e;hpb=064fdbb8baee75503ef5b3d37cc20ec93c7ccb0d;ds=sidebyside diff --git a/AutoGen.pm b/AutoGen.pm index 0947a21..52074eb 100644 --- a/AutoGen.pm +++ b/AutoGen.pm @@ -270,7 +270,7 @@ my($class,%args)=@_; _system "make distdir"; # Copy 'orig' archive after &_prepdist which would delete it. my @origs; - for my $glob ("orig-$name-*.tar.{gz,Z}") { + for my $glob ("orig-$name-*.tar.{gz,Z,bz2}") { @origs=glob $glob; if (@origs) { confess "Invalid glob $glob: ".join(",",@origs) if 1!=@origs;