diff --git a/tools/regression/src/process_jam_log.cpp b/tools/regression/src/process_jam_log.cpp
index 8f1b19b..809243c 100644
|
a
|
b
|
namespace
|
| 272 | 272 | // the type of grist. |
| 273 | 273 | convert_path_separators( dir ); |
| 274 | 274 | dir.erase( 0, 1 ); |
| 275 | | // We need path from root, not from 'status' dir. |
| | 275 | // We need path from root, not from a subdirectory such as 'status' |
| | 276 | // or 'libs/any'. |
| 276 | 277 | if (dir.find("../") == 0) |
| 277 | | dir.erase(0,3); |
| | 278 | { |
| | 279 | while (dir.find("../") == 0) |
| | 280 | dir.erase(0,3); |
| | 281 | } |
| 278 | 282 | else // dir is always relative to the boost directory tree |
| 279 | 283 | dir.erase( 0, locate_root.string().size()+1 ); |
| 280 | 284 | } |