Commit 5baafe9c authored by Johannes Bier's avatar Johannes Bier 💬
Browse files

Fix error using colcon while ws is sourced (see

parent 71a412db
......@@ -38,7 +38,8 @@ cb () {
if [ -n "$PACKAGES" ]; then
PACKAGES="--packages-select ${PACKAGES}"
colcon build --symlink-install --packages-skip-regex SRD18.* --cmake-args -DBUILD_TESTING=0 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON $PACKAGES
# colcon build --symlink-install --cmake-args -DBUILD_TESTING=0 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON $PACKAGES
env -i bash -c 'source /opt/ros/galactic/setup.bash && colcon build --symlink-install --cmake-args -DBUILD_TESTING=0 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ${PACKAGES}'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment