build.sh: allow one to ignore missing build-deps
Ximin Luo
5 years ago
55 | 55 | } |
56 | 56 | |
57 | 57 | if ! check_build_deps; then |
58 | abort 1 "Missing build-dependencies, but maybe try '{apt,cargo} update'" | |
58 | if [ "$IGNORE_MISSING_BUILD_DEPS" != 1 ]; then | |
59 | abort 1 "Missing build-dependencies, but maybe try '{apt,cargo} update'" | |
60 | fi | |
59 | 61 | fi |
60 | 62 | |
61 | 63 | if [ "$SOURCEONLY" = 1 ]; then |