aboutsummaryrefslogtreecommitdiff
path: root/src/functiondirectoriesin.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-12 01:22:25 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-12 01:22:25 +0000
commit6011f825ca62dec32013af01d876e95174410cf6 (patch)
tree2415f38285d5f0cc035a79660206f1f779dc1693 /src/functiondirectoriesin.cpp
parentafd6d53eb6b3f169fa50cea360b982b60e589e6f (diff)
downloadbuild-6011f825ca62dec32013af01d876e95174410cf6.tar.gz
build-6011f825ca62dec32013af01d876e95174410cf6.tar.bz2
build-6011f825ca62dec32013af01d876e95174410cf6.tar.xz
build-6011f825ca62dec32013af01d876e95174410cf6.zip
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.
Diffstat (limited to '')
-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 }