trees: fix bad comparison

pro-tip: don't do this at 3AM

do massive changes like this, no later than 1AM.

the intent anyway is for -d to cause no build dependencies
to be handled, but the current logic says to only handle
them if -d is set! fix it by removing the ! part

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-07-10 01:11:14 +01:00 committed by Leah Rowe
parent 9a3beea79c
commit 21306dd5b8
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ configure_project()
[ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1 [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1 [ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1
if [ "$_f" != "-d" ]; then if [ "$_f" = "-d" ]; then
: :
elif [ -z "$mode" ]; then elif [ -z "$mode" ]; then
for bd in $build_depend; do for bd in $build_depend; do