summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 0ea55e139d..6badda5972 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -733,7 +733,7 @@ class Git(FetchMethod):
733 to_remove.append(ud.fullshallow + ".done") 733 to_remove.append(ud.fullshallow + ".done")
734 734
735 for r in to_remove: 735 for r in to_remove:
736 if os.path.exists(r): 736 if os.path.exists(r) or os.path.islink(r):
737 bb.note('Removing %s' % r) 737 bb.note('Removing %s' % r)
738 bb.utils.remove(r, True) 738 bb.utils.remove(r, True)
739 739