Skip to content

Commit

Permalink
maint: avoid the long and resource intensive task of deleting the ker…
Browse files Browse the repository at this point in the history
…nel source and then checking out that same kernel source hypriot#52
  • Loading branch information
anon8675309 committed Mar 20, 2023
1 parent cac60fb commit 6513c0a
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 6513c0a

Please sign in to comment.