The fix for this is really trivial. Patch below.

Cheers,
Erik

--- run-detectors.pl.orig    2008-08-19 19:24:20.000000000 +1000
+++ run-detectors.pl     2010-03-29 19:02:45.869495423 +1100
@@ -88,7 +88,7 @@
 # as one succeeds, exec() it.
 
 for my $format (@ok_formats) {
-    if (length $format->{detector}) {
+    if (length $format->{detector} && -e $format->{detector}) {
        my $status = system $format->{detector}, $ARGV[0];
        $status /= 256; # actual exit value
        if ($status == 0) {



-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to