]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
utils: Use rm -rf in remove()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Feb 2013 16:51:34 +0000 (16:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2013 15:53:26 +0000 (15:53 +0000)
commit96088ebdec08e49ba9e8dbcac437bfcdc21f5983
treecf49420ee9bf355913213139f4e1af7f953aec51
parent4eb3b6bb9f936808ddf085624078f6479c522c48
utils: Use rm -rf in remove()

Whilst shutils.rmtree() is pythonic, its also slow. Its faster to
use rm -rf which makes optimial use of the right syscalls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/utils.py