We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0148fbc commit 266d0d2Copy full SHA for 266d0d2
install_ros.sh
@@ -57,10 +57,10 @@ sudo -H rosdep init
57
58
# if rosdep init fails, do it manually
59
60
-if [ $? -eq 0 ]; then
+if [ $? -ne 0 ]; then
61
wget https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
62
- mkdir -p /etc/ros/rosdep/sources.list.d/
63
- mv -f 20-default.list /etc/ros/rosdep/sources.list.d/
+ sudo mkdir -p /etc/ros/rosdep/sources.list.d/
+ sudo mv -f 20-default.list /etc/ros/rosdep/sources.list.d/
64
fi
65
66
rosdep update
0 commit comments