Skip to content

Commit

Permalink
fixing build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Nov 20, 2023
1 parent e4f7cc3 commit 2fec78e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ set -e
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'echo "$0: \"${last_command}\" command failed with exit code $?"' ERR

# determine our architecture
sudo apt-get -y install dpkg-dev
ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)

# INPUTS
LIST=$1
VARIANT=$2
Expand All @@ -33,10 +37,6 @@ YAML_FILE=${LIST}.yaml
# needed for building open_vins
export ROS_VERSION=1

# determine our architecture
sudo apt-get -y install dpkg-dev
ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)

# we already have a docker image with ros for the ARM build
if [[ "$ARCH" != "arm64" ]]; then
curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ros_ppa.sh | bash
Expand Down

0 comments on commit 2fec78e

Please sign in to comment.