Commit 4957db5f authored by Markus Frosch's avatar Markus Frosch
Browse files

rpm: Fix ignore handling for rpmlint

parent 3cbddb56
Pipeline #9107 passed with stage
in 24 seconds
......@@ -123,4 +123,4 @@ echo "[ Running rpmlint ]"
) || lintrc=$?
done
[ "$lintrc" -eq 0 ]
) || ([ "${ICINGA_BUILD_IGNORE_LINT}" -eq 1 ] && exit 1) || exit 1
) || [ "${ICINGA_BUILD_IGNORE_LINT}" -eq 1 ] || exit 1
......@@ -108,4 +108,4 @@ fi
| tee "${BUILDDIR}/"rpmlint-srpm.log || lintrc=$?
[ "$lintrc" -eq 0 ]
) || ([ "${ICINGA_BUILD_IGNORE_LINT}" -eq 1 ] && exit 1) || exit 1
) || [ "${ICINGA_BUILD_IGNORE_LINT}" -eq 1 ] || exit 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment