Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Apr 15, 2022
1 parent c2b0268 commit 5cacc1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jenkins-scripts/lib/dependencies_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \\
Expand Down Expand Up @@ -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 \\
Expand Down Expand Up @@ -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 \\
Expand All @@ -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 \\
Expand Down Expand Up @@ -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 \\
Expand Down

0 comments on commit 5cacc1c

Please sign in to comment.