Author: adsb
Date: 2009-03-02 19:28:09 +0000 (Mon, 02 Mar 2009)
New Revision: 1832

Modified:
   trunk/debian/changelog
   trunk/scripts/debdiff.pl
Log:
Support bzip2 and lzma compressed orig tarballs. (Closes: #473969)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-03-02 18:39:04 UTC (rev 1831)
+++ trunk/debian/changelog      2009-03-02 19:28:09 UTC (rev 1832)
@@ -7,6 +7,7 @@
     + Set the exit status correctly when comparing source packages.  If
       differences were found, debdiff will now exit with a status of 1, as
       per debdiff(1).
+    + Support bzip2 and lzma compressed orig tarballs. (Closes: #473969)
   * licensecheck:
     + Document --no-conf.
     + Fix an uninitialised variable warning when --no-conf is used. Thanks.

Modified: trunk/scripts/debdiff.pl
===================================================================
--- trunk/scripts/debdiff.pl    2009-03-02 18:39:04 UTC (rev 1831)
+++ trunk/scripts/debdiff.pl    2009-03-02 19:28:09 UTC (rev 1832)
@@ -449,7 +449,7 @@
                if ($file =~ /\.diff\.gz$/) {
                    $diffs[$i] = cwd() . '/' . $file;
                }
-               elsif ($file =~ /(\.orig)?\.tar\.gz$/) {
+               elsif ($file =~ /(\.orig)?\.tar\.(gz|bz2|lzma)$/) {
                    $origs[$i] = $file;
                }
            } else {



-- 
To unsubscribe, send mail to [email protected].

Reply via email to