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:
parent
aaab207d36
commit
5027d8f8f2
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue