Skip to content

Commit 6513c0a

Browse files
author
anon8675309
committed
maint: avoid the long and resource intensive task of deleting the kernel source and then checking out that same kernel source hypriot#52
1 parent cac60fb commit 6513c0a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/compile_kernel.sh

-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ function clone_or_update_repo_for () {
8383
local repo_path=$2
8484
local repo_commit=$3
8585

86-
if [ ! -z "${repo_commit}" ]; then
87-
rm -rf $repo_path
88-
fi
8986
if [ -d ${repo_path}/.git ]; then
9087
pushd $repo_path
9188
git reset --hard HEAD

0 commit comments

Comments
 (0)