ソースを参照

Partially revert recent change [46486] which breaks processing for regression testing runners. Thanks to Richard W. for finding the problem.

[SVN r46798]
Rene Rivera 18 年 前
コミット
1577ca21db
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tools/regression/src/process_jam_log.cpp

+ 1 - 1
tools/regression/src/process_jam_log.cpp

@@ -157,7 +157,7 @@ namespace
     temp.erase( temp.find_last_of( "/" ) ); // remove leaf
     temp = split( trim_left( temp ) ).back();
     if ( temp[0] == '.' ) temp.erase( 0, temp.find_first_not_of( "./" ) ); 
-    else if ( temp[0] == '/' ) temp.erase( 0, locate_root.string().size()+1 );
+    else temp.erase( 0, locate_root.string().size()+1 );
     if ( echo )
         std::cout << "\ttarget_directory( \"" << s << "\") -> \"" << temp << "\"" << std::endl;
     return temp;

粤ICP备19079148号