Author: adsb Date: 2009-06-15 19:29:21 +0000 (Mon, 15 Jun 2009) New Revision: 1911
Modified: trunk/debian/changelog trunk/scripts/debdiff.pl Log: debdiff: Make --diffstat work again; diffstat exits 0 unless there was a problem. Accidentally broken in 2.10.48. Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2009-06-15 18:41:41 UTC (rev 1910) +++ trunk/debian/changelog 2009-06-15 19:29:21 UTC (rev 1911) @@ -1,6 +1,7 @@ devscripts (2.10.52) UNRELEASED; urgency=low - * NOT RELEASED YET + * debdiff: Make --diffstat work again; diffstat exits 0 unless there was + a problem. Accidentally broken in 2.10.48. -- Adam D. Barratt <[email protected]> Mon, 15 Jun 2009 19:41:02 +0100 Modified: trunk/scripts/debdiff.pl =================================================================== --- trunk/scripts/debdiff.pl 2009-06-15 18:41:41 UTC (rev 1910) +++ trunk/scripts/debdiff.pl 2009-06-15 19:29:21 UTC (rev 1911) @@ -586,8 +586,10 @@ if ($have_diffstat and $show_diffstat) { print "diffstat for $sdir1 $sdir2\n\n"; - system("diffstat $filename") - or fatal "Failed to diffstat $filename!"; + system("diffstat $filename"); + if ($? != 0) { + fatal "Failed to diffstat $filename!"; + } print "\n"; } -- To unsubscribe, send mail to [email protected].
