Skip to content

Commit

Permalink
[workflows/package-project] Fix sed expression
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Feb 14, 2024
1 parent 9cb0136 commit d4222c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,16 +243,16 @@ jobs:
fi
sed -i -e"s/# ros-@ROS_DISTRO@/ ros-${ROS_DISTRO}/" debian/control
sed -i -e"s/@ROS_DISTRO@/${ROS_DISTRO}/" debian/control
sed -i -e"s/#ROS${ROS_VERSION} / " debian/control
sed -i -e"s/#ROS${ROS_VERSION} / /" debian/control
cat debian/control
sed -i -e"s/@ROS_DISTRO@/${ROS_DISTRO}/" debian/rules
sed -i -e"s/#ROS${ROS_VERSION} / " debian/rules
sed -i -e"s/#ROS${ROS_VERSION} / /" debian/rules
cat debian/rules
for f in `find debian -type f -name 'ros-ROS_DISTRO-*'`
do
FOUT=`echo $f|sed -e"s/ROS_DISTRO/${ROS_DISTRO}/"`
sed -e"s/@ROS_DISTRO@/${ROS_DISTRO}/" $f | tee -a $FOUT
sed -i -e"s/#ROS${ROS_VERSION} / " ${FOUT}
sed -i -e"s/#ROS${ROS_VERSION} / /" ${FOUT}
done
- name: Build package
uses: jrl-umi3218/github-actions/build-package-native@master
Expand Down

0 comments on commit d4222c4

Please sign in to comment.