Skip to content

Commit 68ec468

Browse files
christianrauchchristian-rauch
authored andcommitted
fix the colcon step working directory
1 parent 103546d commit 68ec468

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/project_manager/ros_colcon_step.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ bool ROSColconStep::init()
121121
// That is mostly so that rebuild works on an already clean project
122122
setIgnoreReturnValue(m_target == CLEAN);
123123

124+
// set working directory to the project directory for the whole process step
125+
setWorkingDirectoryProvider([bc]() {
126+
return bc->project()->projectDirectory();
127+
});
128+
124129
return AbstractProcessStep::init();
125130
}
126131

0 commit comments

Comments
 (0)