From 21306dd5b80ac8fb47c49bcff7ba2f644c8ef975 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 10 Jul 2024 01:11:14 +0100 Subject: [PATCH] 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 c617598..1d8c755 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