Fix a path construction issue introduced in 3fc85b7
.
parent
d4b052d34d
commit
6e88eaef69
|
@ -309,7 +309,9 @@ static bool RunCommand(const std::vector<std::string> args) {
|
|||
if(replaceAt != std::string::npos) {
|
||||
std::string outputSubst;
|
||||
outputSubst = Dirname(inputFile);
|
||||
if(!outputSubst.empty()) {
|
||||
outputSubst += PATH_SEP;
|
||||
}
|
||||
outputSubst += Basename(inputFile, /*stripExtension=*/true);
|
||||
outputFile.replace(replaceAt, 1, outputSubst);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue