Skip to content

Commit

Permalink
kernel/build: fix re-using git kernel trees
Browse files Browse the repository at this point in the history
  • Loading branch information
Maccraft123 committed Nov 18, 2024
1 parent 557cb32 commit 2ad2de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ad2de1

Please sign in to comment.