Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Avoid unnecessary deleting and re-checking out of the kernel source #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions scripts/compile_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ function clone_or_update_repo_for () {
local repo_path=$2
local repo_commit=$3

if [ ! -z "${repo_commit}" ]; then
rm -rf $repo_path
fi
if [ -d ${repo_path}/.git ]; then
pushd $repo_path
git reset --hard HEAD
Expand Down