diff options
| author | Shauren <shauren.trinity@gmail.com> | 2012-07-04 18:26:54 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2012-07-04 18:26:54 +0200 |
| commit | 138375c0455fc0c7f1c2fc0e6b94930dea28ae9c (patch) | |
| tree | b7208fb1cea78be18c75676abacc97202cccb8bc /src/tools/map_extractor | |
| parent | 7bd0540ca436a5ca8d882a2c202e91c51e7b3a21 (diff) | |
Merged pull request #6873
Diffstat (limited to 'src/tools/map_extractor')
| -rw-r--r-- | src/tools/map_extractor/System.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index c8d5c105af3..4f300f0ef0e 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -1019,7 +1019,9 @@ void ExtractDBCFiles(int l, bool basicLocale) uint32 count = 0; if (listFile) { - std::string outputPath = "./dbc/"; + std::string outputPath = output_path; + outputPath += "/dbc/"; + CreateDir(outputPath); if (!basicLocale) { @@ -1063,7 +1065,8 @@ void ExtractDB2Files(int l, bool basicLocale) uint32 count = 0; if (listFile) { - std::string outputPath = "./dbc/"; + std::string outputPath = output_path; + outputPath += "/dbc/"; if (!basicLocale) { outputPath += Locales[l]; |
