From: Holger Schurig Date: Wed, 22 Sep 2004 15:38:29 +0000 (+0000) Subject: first-aid against dangling .patches directories X-Git-Tag: Release-2010-05/1~16964 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5c3c1350347d66625c953dd89faada8cd53cc90;p=openembedded.git first-aid against dangling .patches directories BKrev: 41519c75KTKefruFzWKWNEqmpWWowg --- diff --git a/classes/base.oeclass b/classes/base.oeclass index cb8d59df12..679439f6fc 100644 --- a/classes/base.oeclass +++ b/classes/base.oeclass @@ -321,7 +321,8 @@ python base_do_patch() { efile = local efile = oe.data.expand(efile, d) patches_dir = oe.data.expand(oe.data.getVar('PATCHES_DIR', d), d) - oe.mkdirhier(patches_dir) + print "PATCHES_DIR", patches_dir + oe.mkdirhier(patches_dir + "/.patches") os.chdir(patches_dir) cmd = "PATH=\"%s\" patcher" % oe.data.getVar("PATH", d, 1) if "pnum" in parm: