From 469cc64f99d2d9341429cd47d22f9fa77fb1ce72 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 10 Jul 2024 01:11:14 +0100 Subject: 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 --- script/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/trees b/script/trees index c6175986..1d8c755f 100755 --- a/script/trees +++ b/script/trees @@ -162,7 +162,7 @@ configure_project() [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1 [ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1 - if [ "$_f" != "-d" ]; then + if [ "$_f" = "-d" ]; then : elif [ -z "$mode" ]; then for bd in $build_depend; do -- cgit v1.2.1