From aafb370587c4df1d108682b6b4df1173aae37ab1 Mon Sep 17 00:00:00 2001 From: hedger Date: Mon, 16 Oct 2023 21:06:08 +0400 Subject: [PATCH] fbt: git condition fix --- fbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbt b/fbt index 894714583e6..643ee4d17a2 100755 --- a/fbt +++ b/fbt @@ -32,7 +32,7 @@ if [ -z "$FBT_NO_SYNC" ]; then exit 1; fi _FBT_CLONE_FLAGS="--jobs $N_GIT_THREADS"; - if [ -z "$FBT_SHALLOW" ]; then + if [ ! -z "$FBT_SHALLOW" ]; then _FBT_CLONE_FLAGS="$_FBT_CLONE_FLAGS --depth 1"; fi