Author: adam-guest
Date: 2008-04-05 11:18:18 +0000 (Sat, 05 Apr 2008)
New Revision: 1240

Modified:
   trunk/scripts/mk-build-deps.pl
Log:
mk-build-deps: Only match files when looking for a control file...

Modified: trunk/scripts/mk-build-deps.pl
===================================================================
--- trunk/scripts/mk-build-deps.pl      2008-04-05 10:38:47 UTC (rev 1239)
+++ trunk/scripts/mk-build-deps.pl      2008-04-05 11:18:18 UTC (rev 1240)
@@ -92,7 +92,7 @@
     my $version;
     my $last_line_build_deps;
 
-    if( -r $control) {
+    if (-r $control and -f $control) {
        open CONTROL, $control;
     }
     else {



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to