diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index d11da978d7..512cc4eb76 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -692,8 +692,8 @@ def remove(path, recurse=False, ionice=False): | |||
692 | return | 692 | return |
693 | if recurse: | 693 | if recurse: |
694 | for name in glob.glob(path): | 694 | for name in glob.glob(path): |
695 | if _check_unsafe_delete_path(path): | 695 | if _check_unsafe_delete_path(name): |
696 | raise Exception('bb.utils.remove: called with dangerous path "%s" and recurse=True, refusing to delete!' % path) | 696 | raise Exception('bb.utils.remove: called with dangerous path "%s" and recurse=True, refusing to delete!' % name) |
697 | # shutil.rmtree(name) would be ideal but its too slow | 697 | # shutil.rmtree(name) would be ideal but its too slow |
698 | cmd = [] | 698 | cmd = [] |
699 | if ionice: | 699 | if ionice: |