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