patch.bbclass: updates from upstream oe.

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@691 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Chris Larson 2006-09-01 08:36:17 +00:00
parent aaab207d36
commit 5027d8f8f2
1 changed files with 2 additions and 5 deletions

View File

@ -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:
except Exception:
pass
except NotFoundError:
pass
# runcmd(["rm", "-rf", os.path.join(self.dir, "patches"), os.path.join(self.dir, ".pc")])
self.initialized = True
def InitFromDir(self):