Skip to content

Commit

Permalink
Fix fixed value
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Sep 20, 2024
1 parent 2447c88 commit 715b89a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildroot/scripts/debian.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

# TODO: Add apt repository for other packages

source /opt/ros/${ROS_DISTRO}/setup.bash
source /opt/ros/${ROS_DISTRO}/setup.bash

WORKSPACE_ROOT=$PWD
EXPORT_DIR=${INPUT_OUT_DIR:-./debs}
Expand All @@ -14,7 +14,7 @@ mkdir -p $EXPORT_DIR
EXPORT_DIR=$(cd $EXPORT_DIR && pwd)/

# Add local repository to rosdep
colcon --log-base /dev/null list -t -n | awk '{ pkg = $1; gsub("_", "-", pkg); print $1 ":\n ubuntu: [ros-humble-" pkg "]" }' > /tmp/rosdep.yaml
colcon --log-base /dev/null list -t -n | awk "{ pkg = \$1; gsub(\"_\", \"-\", pkg); print \$1 \":\\n ubuntu: [ros-${ROS_DISTRO}-\" pkg \"]\" }" >/tmp/rosdep.yaml
cat /tmp/rosdep.yaml
echo "yaml file:///tmp/rosdep.yaml" | sudo tee /etc/ros/rosdep/sources.list.d/50-my-packages.list -a

Expand Down Expand Up @@ -54,4 +54,4 @@ for PKG_REL_PATH in $(colcon --log-base /dev/null list -t -p); do
popd
done

chmod -R a+w $EXPORT_DIR
chmod -R a+w $EXPORT_DIR

0 comments on commit 715b89a

Please sign in to comment.