diff options
author | Chris Larson <kergoth@openedhand.com> | 2006-09-01 08:36:17 +0000 |
---|---|---|
committer | Chris Larson <kergoth@openedhand.com> | 2006-09-01 08:36:17 +0000 |
commit | 5027d8f8f2190ffb2715cd87456b273dd2789567 (patch) | |
tree | ddf64877956dc58ee434bff80da84fcd3069d4b7 /meta/classes/patch.bbclass | |
parent | aaab207d3659fd94105da876b58a7df7160c8c93 (diff) | |
download | openembedded-core-5027d8f8f2190ffb2715cd87456b273dd2789567.tar.gz openembedded-core-5027d8f8f2190ffb2715cd87456b273dd2789567.tar.bz2 openembedded-core-5027d8f8f2190ffb2715cd87456b273dd2789567.tar.xz openembedded-core-5027d8f8f2190ffb2715cd87456b273dd2789567.zip |
patch.bbclass: updates from upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@691 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/patch.bbclass')
-rw-r--r-- | meta/classes/patch.bbclass | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index 7bb0900f8..5e40b3dc0 100644 --- a/meta/classes/patch.bbclass +++ b/meta/classes/patch.bbclass @@ -176,16 +176,13 @@ def patch_init(d): self.initialized = False p = os.path.join(self.dir, 'patches') if not os.path.exists(p): - os.mkdir(p) + os.makedirs(p) def Clean(self): try: self._runcmd(["pop", "-a", "-f"]) - except CmdError: - pass - except NotFoundError: + except Exception: pass - # runcmd(["rm", "-rf", os.path.join(self.dir, "patches"), os.path.join(self.dir, ".pc")]) self.initialized = True def InitFromDir(self): |