From 5ac77b54f0fa4def4c4fe48fd8dddb700358c8f3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 21 Feb 2024 23:00:37 -0500 Subject: opkbuild: Run ob-checkbuilddeps regardless of -d Just don't exit on ob-checkbuilddeps failure if -d is specified. --- (limited to 'src/opkbuild.sh') diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 2bd9c48..5b368fc 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -424,8 +424,8 @@ main() if [ x"${opt_build}" != x'source' ]; then print_arch_stats - if "${opt_check_build_deps}"; then - if ! "${bindir}/ob-checkbuilddeps"; then + if ! "${bindir}/ob-checkbuilddeps"; then + if "${opt_check_build_deps}"; then return 1 fi fi -- cgit v0.9.1