aboutsummaryrefslogtreecommitdiff
path: root/src/functionfilesin.cpp
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2006-09-14 21:51:00 +0000
committerDavid <david@xagasoft.com>2006-09-14 21:51:00 +0000
commitc831a3947d7ac517fceaf8981d56c5ddcdaf26b1 (patch)
tree0d2951f0b15e10f6a38399f945f191342d02f009 /src/functionfilesin.cpp
parent9adf03ea002df33791109743e368f7420bf4043c (diff)
downloadbuild-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.gz
build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.bz2
build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.xz
build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.zip
david - a couple of random things mike told me to fix
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