Got fixed that issue by prepending $newfile_base with $destdir.
Have no idea if it breaks any other features...
Regards,
Alex
--- /usr/bin/uscan 2015-12-31 05:10:02.000000000 +0100
+++ /tmp/uscan 2016-01-05 15:25:26.922521252 +0100
@@ -3702,8 +3702,8 @@
}
my $umd5sum = Digest::MD5->new;
my $omd5sum = Digest::MD5->new;
- open (my $ufh, '<', "../${newfile_base}") or die "Can't open '${newfile_base}': $!";
- open (my $ofh, '<', "../${target}") or die "Can't open '${target}': $!";
+ open (my $ufh, '<', "${destdir}/${newfile_base}") or die "Can't open '${destdir}/${newfile_base}': $!";
+ open (my $ofh, '<', "${destdir}/${target}") or die "Can't open '${destdir}/${target}': $!";
$umd5sum->addfile($ufh);
$omd5sum->addfile($ofh);
close($ufh);
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel