File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -195,9 +195,10 @@ activate_ubuntu() {
195195
196196 log_info " [4/4] Sourcing workspace overlay..."
197197 if [ -f " $COFFEE_WS_PATH /install/setup.bash" ]; then
198- pushd " $COFFEE_WS_PATH " > /dev/null
199- source install/setup.bash
200- popd > /dev/null
198+ cd " $COFFEE_WS_PATH "
199+ cd install
200+ source setup.bash
201+ cd ..
201202 else
202203 log_warning " Workspace not built yet. Run 'colcon build' in $COFFEE_WS_PATH "
203204 fi
@@ -229,9 +230,10 @@ activate_macos() {
229230
230231 log_info " [3/3] Sourcing workspace overlay..."
231232 if [ -f " $COFFEE_WS_PATH /install/setup.bash" ]; then
232- pushd " $COFFEE_WS_PATH " > /dev/null
233- source install/setup.bash
234- popd > /dev/null
233+ cd " $COFFEE_WS_PATH "
234+ cd install
235+ source setup.bash
236+ cd ..
235237
236238 # Set macOS-specific environment variables for Qt applications
237239 # Set macOS Qt environment variables for GUI applications
You can’t perform that action at this time.
0 commit comments