Commit cdc0146
Fix runtime install aborting before it builds anything
build_workspace() sources /opt/ros/jazzy/setup.bash, which dereferences
AMENT_TRACE_SETUP_FILES while the script runs under `set -euo pipefail`.
Under `set -u` that is an unbound-variable error, so the installer exited
before rosdep/colcon ever ran:
/opt/ros/jazzy/setup.bash: line 8: AMENT_TRACE_SETUP_FILES: unbound variable
Relax `set -u` around the source only. Verified in the jazzy-dev image:
build_workspace now reaches rosdep + colcon.
Bug found by Jayadev Rana by running the scaffold end to end; the original
PR was verified with `bash -n`, which does not execute build_workspace.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d938eff commit cdc0146
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
| 142 | + | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| |||
0 commit comments