diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch/bzr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/bzr.py b/bitbake/lib/bb/fetch/bzr.py index 0eb2dad5dc..afaf799900 100644 --- a/bitbake/lib/bb/fetch/bzr.py +++ b/bitbake/lib/bb/fetch/bzr.py | |||
@@ -91,7 +91,7 @@ class Bzr(Fetch): | |||
91 | os.chdir(os.path.join (ud.pkgdir, os.path.basename(ud.path))) | 91 | os.chdir(os.path.join (ud.pkgdir, os.path.basename(ud.path))) |
92 | runfetchcmd(bzrcmd, d) | 92 | runfetchcmd(bzrcmd, d) |
93 | else: | 93 | else: |
94 | os.system("rm -rf %s" % os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir))) | 94 | bb.utils.remove(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir)), True) |
95 | bzrcmd = self._buildbzrcommand(ud, d, "fetch") | 95 | bzrcmd = self._buildbzrcommand(ud, d, "fetch") |
96 | logger.debug(1, "BZR Checkout %s", loc) | 96 | logger.debug(1, "BZR Checkout %s", loc) |
97 | bb.mkdirhier(ud.pkgdir) | 97 | bb.mkdirhier(ud.pkgdir) |