Skip to content

Commit 9dd1a2b

Browse files
committed
fix?
1 parent 81bcfaa commit 9dd1a2b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,16 @@ main() {
282282
exit 1
283283
fi
284284

285+
# Source the built workspace for bloom to use
286+
log_info "Sourcing built workspace..."
287+
if [ "$ROS_VERSION" = "1" ]; then
288+
# shellcheck disable=SC1091
289+
source "$WORKSPACE/workspace/devel/setup.bash"
290+
else
291+
# shellcheck disable=SC1091
292+
source "$WORKSPACE/workspace/install/setup.bash"
293+
fi
294+
285295
# Generate debian packages for each package
286296
local bloom_success=0
287297
local bloom_failed=0

0 commit comments

Comments
 (0)