Skip to content

Commit 54fe0e2

Browse files
Fixing bug where build is not copying to the right place
1 parent 543e189 commit 54fe0e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Src/runcpp2/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ int main(int argc, char* argv[])
398398

399399
std::string outputDir;
400400
if(currentOptions.count(runcpp2::CmdOptions::BUILD) > 0)
401-
outputDir = ghc::filesystem::path(script).parent_path().string();
401+
outputDir = ghc::filesystem::current_path().string();
402402

403403
if(runcpp2::StartPipeline( script,
404404
profiles,

Src/runcpp2/runcpp2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ runcpp2::StartPipeline( const std::string& scriptPath,
10261026
}
10271027
}
10281028

1029-
ssLOG_INFO("Build completed. Files copied to " << buildOutputDir);
1029+
ssLOG_BASE("Build completed. Files copied to " << buildOutputDir);
10301030
return PipelineResult::SUCCESS;
10311031
}
10321032
}

0 commit comments

Comments
 (0)