Commit b5d4527 1 parent 48176fe commit b5d4527 Copy full SHA for b5d4527
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ sudo apt-get install -y --no-install-recommends ${other_pkgs} ${python3_pkgs}
11
11
sudo pip3 install colcon-common-extensions xmlrunner pygccxml pyplusplus
12
12
13
13
if [ ` lsb_release -a | grep Release | grep 22.04 | wc -l` == 1 ]; then
14
- sudo echo " deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu/ jammy main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
14
+ TMPFILE=$( mktemp)
15
+ echo " deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu/ jammy main" > ${TMPFILE}
16
+ sudo mv ${TMPFILE} /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
15
17
sudo apt-get update
16
18
sudo apt-get install -y --no-install-recommends ${python3_8_pkgs}
17
19
sudo pip3.8 install colcon-common-extensions xmlrunner pygccxml pyplusplus
You can’t perform that action at this time.
0 commit comments