aboutsummaryrefslogtreecommitdiff
path: root/src/functionfilesin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/functionfilesin.cpp')
-rw-r--r--src/functionfilesin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/functionfilesin.cpp b/src/functionfilesin.cpp
index e3d8e92..6b47f9f 100644
--- a/src/functionfilesin.cpp
+++ b/src/functionfilesin.cpp
@@ -29,9 +29,10 @@ void FunctionFilesIn::execute( Build *bld, const StringList &lInput, StringList
29 29
30 while( (e = readdir( d )) ) 30 while( (e = readdir( d )) )
31 { 31 {
32 if( e->d_type == DT_REG ) 32 if( e->d_type != DT_DIR )
33 { 33 {
34 lOutput.push_back( prefix + e->d_name ); 34 if( e->d_name[0] != '.')
35 lOutput.push_back( prefix + e->d_name );
35 } 36 }
36 } 37 }
37 38