build_image: Drop the dead test

The `if` condition was always true - the `skip_test_build_root`
variable is not defined anywhere, so it evaluates to an empty string,
which is always different from "1".
This commit is contained in:
Krzesimir Nowak 2021-11-08 15:21:44 +01:00
parent 4bb8b4c120
commit 702a1bad01

View File

@ -126,10 +126,8 @@ for arg in "$@"; do
done
# Check that the build root is sane.
if [[ ${skip_test_build_root} -ne 1 ]]; then
info "Checking build root"
test_image_content "${BOARD_ROOT}"
fi
info "Checking build root"
test_image_content "${BOARD_ROOT}"
# Handle existing directory.
if [[ -e "${BUILD_DIR}" ]]; then