diff options
Diffstat (limited to '')
| -rw-r--r-- | src/functiondirectoriesin.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/functiondirectoriesin.cpp b/src/functiondirectoriesin.cpp index ef2f097..c68fa5c 100644 --- a/src/functiondirectoriesin.cpp +++ b/src/functiondirectoriesin.cpp | |||
| @@ -42,7 +42,18 @@ void FunctionDirectoriesIn::execute( Build *bld, const StringList &lInput, Strin | |||
| 42 | { | 42 | { |
| 43 | if( e->d_name[0] == '.' || e->d_name[0] == '\0' ) | 43 | if( e->d_name[0] == '.' || e->d_name[0] == '\0' ) |
| 44 | continue; | 44 | continue; |
| 45 | lOutput.push_back( prefix + e->d_name ); | 45 | std::string sOut = prefix + e->d_name; |
| 46 | lOutput.push_back( sOut ); | ||
| 47 | if( bld ) | ||
| 48 | { | ||
| 49 | std::string sV = lParams.front() + "/"; | ||
| 50 | sV += e->d_name; | ||
| 51 | bld->set( sOut, "fulldir", sV ); | ||
| 52 | } | ||
| 53 | else | ||
| 54 | { | ||
| 55 | printf("no build access.\n"); | ||
| 56 | } | ||
| 46 | } | 57 | } |
| 47 | } | 58 | } |
| 48 | 59 | ||
