diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-12-17 12:25:53 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-12-17 12:31:24 +0100 |
commit | c84a22b7a399cb10ead393d40e89080d63bf0b11 (patch) | |
tree | e002dbfa3942f18d8e66e22e6698b3d6367fcb51 /lib/bb | |
parent | 4b36be445a05a544cd3a456acd1dcc8f962359e2 (diff) | |
download | bitbake-contrib-c84a22b7a399cb10ead393d40e89080d63bf0b11.tar.gz |
build: use utils.remove instead of os.system
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'lib/bb')
-rw-r--r-- | lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index 638a6cd70..4bd48e60a 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -134,7 +134,7 @@ def exec_func(func, d, dirs = None, logfile = NULL): cleandirs = flags.get('cleandirs') if cleandirs: for cdir in data.expand(cleandirs, d).split(): - os.system("rm -rf %s" % cdir) + bb.utils.remove(cdir, True) if dirs is None: dirs = flags.get('dirs') |