diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-09-20 22:51:37 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-20 22:51:37 +0000 |
| commit | 3825e6cb1008dea6062ef0c3f5ffecf249a3f420 (patch) | |
| tree | 5c9fe11285d07ae30aea77ba28b7d569e97e50c7 /src/functiondirectoriesin.cpp | |
| parent | 030ab69b236f53357a79fa912956f43f975d79e2 (diff) | |
| download | build-3825e6cb1008dea6062ef0c3f5ffecf249a3f420.tar.gz build-3825e6cb1008dea6062ef0c3f5ffecf249a3f420.tar.bz2 build-3825e6cb1008dea6062ef0c3f5ffecf249a3f420.tar.xz build-3825e6cb1008dea6062ef0c3f5ffecf249a3f420.zip | |
You need this rev to build congo.
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 | ||
