Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
software
ndt_core_public
Commits
acfd8528
Commit
acfd8528
authored
Aug 21, 2018
by
Tomasz Kucner
Browse files
sudo removed from setup.sh
parent
7dd90aa4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
setup.sh
setup.sh
+5
-5
No files found.
.gitlab-ci.yml
View file @
acfd8528
...
...
@@ -11,7 +11,7 @@ ubuntu-xenial:
-
apt-get install -qq -y apt-transport-https sed wget unzip > /dev/null
-
source .gitlab-ci/prepare.sh
-
chmod +x setup.sh
-
./setup.sh $UBUNTU_DISTRO $CI_ROS_DISTRO > /dev/null
-
./setup.sh $UBUNTU_DISTRO $CI_ROS_DISTRO > /dev/null
-
setup_apt ${UBUNTU_DISTRO}
# - apt-get install -qq -y python-catkin-tools v4r > /dev/null
-
apt-get install -qq -y python-catkin-tools > /dev/null
...
...
setup.sh
View file @
acfd8528
...
...
@@ -22,13 +22,13 @@ echo "Installing Dependencies for V4R (Ubuntu ${ubuntu_version_name} using ROS $
echo
"If you want to change this you can pass in the codename of the Ubuntu release. Eg.
$0
xenial kinetic for 16.04 with ROS kinetic"
if
[
!
-f
/etc/apt/sources.list.d/ros-latest.list
]
;
then
sudo
sh
-c
'echo "deb http://packages.ros.org/ros/ubuntu '
${
ubuntu_version_name
}
' main" > /etc/apt/sources.list.d/ros-latest.list'
sh
-c
'echo "deb http://packages.ros.org/ros/ubuntu '
${
ubuntu_version_name
}
' main" > /etc/apt/sources.list.d/ros-latest.list'
fi
wget http://packages.ros.org/ros.key
-O
- |
sudo
apt-key add -
sudo
apt-get update
-qq
>
/dev/null
sudo
apt-get
install
-qq
-y
python-rosdep build-essential cmake
>
/dev/null
sudo
rosdep init
>
/dev/null
wget http://packages.ros.org/ros.key
-O
- | apt-key add -
apt-get update
-qq
>
/dev/null
apt-get
install
-qq
-y
python-rosdep build-essential cmake
>
/dev/null
rosdep init
>
/dev/null
rosdep update 2> /dev/null
rosdep
install
-q
--from-paths
.
-i
-y
-r
--rosdistro
${
ros_version
}
2> /dev/null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment