From 6011f825ca62dec32013af01d876e95174410cf6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 12 Sep 2006 01:22:25 +0000 Subject: Auto targets from functions now work well, but filtering is completely disabled. Fortunately, filtering is more of a nicety, and build is still useful. I'll put filtering back in next. --- src/functiondirectoriesin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/functiondirectoriesin.cpp') diff --git a/src/functiondirectoriesin.cpp b/src/functiondirectoriesin.cpp index 105e98d..cafea81 100644 --- a/src/functiondirectoriesin.cpp +++ b/src/functiondirectoriesin.cpp @@ -30,6 +30,8 @@ void FunctionDirectoriesIn::execute( Build *bld, const StringList &lInput, Strin { if( e->d_type == DT_DIR ) { + if( e->d_name[0] == '.' || e->d_name[0] == '\0' ) + continue; lOutput.push_back( e->d_name ); } } -- cgit v1.2.3