--- toast	2004/12/26 07:01:02	1.369
+++ toast	2004/12/26 19:49:27	1.370
@@ -3012,7 +3012,7 @@
   {
     my($confprog) = path($dir, $cfg);
     next if -d($confprog);
-    next unless -x($confprog) || $confprog =~ /\.sh$/;
+    next unless -x($confprog) || (-r($confprog) && $confprog =~ /\.sh$/);
 
     my($self) = false;
     my($builddir) = false;