aboutsummaryrefslogtreecommitdiff
path: root/src/functiondirectoriesin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/functiondirectoriesin.cpp')
-rw-r--r--src/functiondirectoriesin.cpp2
1 files changed, 2 insertions, 0 deletions
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
30 { 30 {
31 if( e->d_type == DT_DIR ) 31 if( e->d_type == DT_DIR )
32 { 32 {
33 if( e->d_name[0] == '.' || e->d_name[0] == '\0' )
34 continue;
33 lOutput.push_back( e->d_name ); 35 lOutput.push_back( e->d_name );
34 } 36 }
35 } 37 }