From 2ad2de1ff9d87d313e8544f568e38e6be9b05848 Mon Sep 17 00:00:00 2001 From: Maya Matuszczyk Date: Mon, 18 Nov 2024 22:02:50 +0100 Subject: [PATCH] kernel/build: fix re-using git kernel trees --- kernel/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/build b/kernel/build index 75e047e..ce14966 100755 --- a/kernel/build +++ b/kernel/build @@ -30,7 +30,7 @@ case $KTREE in ;; *.git) PATCHSUFFIX="$KTREE_NAME" - if [ ! -d "linux-$ARCH" -o "$(cat ktree)" != "$KTRE" ]; then + if [ ! -d "linux-$ARCH" -o "$(cat ktree)" != "$KTREE" ]; then rm -rf "linux-$ARCH" git clone "$KTREE" "linux-$ARCH" else