Author: adam-guest
Date: 2008-02-16 23:08:45 +0000 (Sat, 16 Feb 2008)
New Revision: 1021
Modified:
trunk/debian/changelog
trunk/scripts/dget.pl
Log:
dget: Correctly handle the processing of a file that we've already
retrieved (Closes: #445546)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-02-16 22:33:30 UTC (rev 1020)
+++ trunk/debian/changelog 2008-02-16 23:08:45 UTC (rev 1021)
@@ -16,6 +16,8 @@
- Add unzip(1) to Suggests for uscan's zip repacking
- Update description of tagpending
* debcommit: Use "git diff" instead of "git-diff" (Closes: #466158)
+ * dget: Correctly handle the processing of a file that we've already
+ retrieved (Closes: #445546)
-- Adam D. Barratt <[EMAIL PROTECTED]> Tue, 12 Feb 2008 08:50:01 +0000
Modified: trunk/scripts/dget.pl
===================================================================
--- trunk/scripts/dget.pl 2008-02-16 22:33:30 UTC (rev 1020)
+++ trunk/scripts/dget.pl 2008-02-16 23:08:45 UTC (rev 1021)
@@ -134,7 +134,7 @@
my %seen;
sub get_file {
my ($dir, $file, $md5sum) = @_;
- return if $seen{$file};
+ return 1 if $seen{$file};
if ($md5sum eq "unlink") {
backup_or_unlink($file);
--
To unsubscribe, send mail to [EMAIL PROTECTED]