Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nala related correction #222

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions scripts/setup-ros-workspace.bash
Original file line number Diff line number Diff line change
Expand Up @@ -376,16 +376,11 @@ create_workspace_docker () {
let CUT_LINE=$TEST_LINE+0
tail -n +$CUT_LINE $TMP_FILE >> $DOCKER_FILE

# Add repositories for Nala
mv $DOCKER_FILE "$TMP_FILE"
TEST_LINE=`awk '$1 == "#" && $2 == "install" && $3 == "nala" { print NR }' $TMP_FILE` # get line before `# install nala and upgrade` dependency
let CUT_LINE=$TEST_LINE-0
head -$CUT_LINE $TMP_FILE > $DOCKER_FILE

# Add last part
let CUT_LINE=$TEST_LINE+2
tail -n +$CUT_LINE $TMP_FILE >> $DOCKER_FILE

destogl marked this conversation as resolved.
Show resolved Hide resolved
# Cleanup temp files
rm $TMP_FILE
fi
Expand Down
Loading