From 5cacc1c10e1186125d8b46f18c98cd75d3f4dbaf Mon Sep 17 00:00:00 2001 From: methylDragon Date: Thu, 14 Apr 2022 17:16:11 -0700 Subject: [PATCH] Fix syntax error Signed-off-by: methylDragon --- jenkins-scripts/lib/dependencies_archive.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jenkins-scripts/lib/dependencies_archive.sh b/jenkins-scripts/lib/dependencies_archive.sh index e3cd62b30..eaecfb790 100644 --- a/jenkins-scripts/lib/dependencies_archive.sh +++ b/jenkins-scripts/lib/dependencies_archive.sh @@ -83,7 +83,7 @@ if [[ -z ${SDFORMAT_MAJOR_VERSION} ]]; then SDFORMAT_MAJOR_VERSION=6 fi -if [[ ${SDFORMAT_MAJOR_VERSION} -ge 9 -a -lt 13 ]]; then +if [[ ${SDFORMAT_MAJOR_VERSION} -ge 9 && ${SDFORMAT_MAJOR_VERSION} -lt 13 ]]; then # sdformat9 requires ignition-math6 and # uses ignition-tools for a test SDFORMAT_BASE_DEPENDENCIES="${SDFORMAT_NO_IGN_DEPENDENCIES} \\ @@ -474,7 +474,7 @@ if [[ ${IGN_FUEL_TOOLS_MAJOR_VERSION} -ge 4 ]]; then libignition-msgs5-dev" fi -if [[ ${IGN_MSGS_MAJOR_VERSION} -lt 9]]; then +if [[ ${IGN_MSGS_MAJOR_VERSION} -lt 9 ]]; then IGN_MSGS_DEPENDENCIES="libignition-tools-dev \\ libprotobuf-dev \\ libprotoc-dev \\ @@ -513,7 +513,7 @@ IGN_GUI_NO_IGN_DEPENDENCIES="qtbase5-dev \\ qml-module-qtquick2 \\ qtquickcontrols2-5-dev" -if [[ ${IGN_GUI_MAJOR_VERSION} -lt 7]]; then +if [[ ${IGN_GUI_MAJOR_VERSION} -lt 7 ]]; then IGN_GUI_DEPENDENCIES="${IGN_GUI_NO_IGN_DEPENDENCIES} \\ libignition-cmake2-dev \\ libignition-common3-dev \\ @@ -537,7 +537,7 @@ IGN_PHYSICS_DART_FROM_PKGS="true" IGN_PLUGIN_DEPENDENCIES="libignition-cmake2-dev" -if [[ ${IGN_LAUNCH_MAJOR_VERSION} -lt 6]]; then +if [[ ${IGN_LAUNCH_MAJOR_VERSION} -lt 6 ]]; then IGN_LAUNCH_COMMON_DEPENDENCIES="libignition-cmake2-dev \\ libignition-common3-dev \\ libignition-math6-dev \\ @@ -587,7 +587,7 @@ IGN_RENDERING_DEPENDENCIES="${IGN_RENDERING_NO_IGN_DEPENDENCIES} \\ libignition-plugin-dev \\ libignition-math6-dev" -if [[ ${IGN_SENSORS_MAJOR_VERSION} -lt 7]]; then +if [[ ${IGN_SENSORS_MAJOR_VERSION} -lt 7 ]]; then IGN_SENSORS_DEPENDENCIES="libignition-common3-dev \\ libignition-cmake2-dev \\ libignition-math6-dev \\