summaryrefslogtreecommitdiff
path: root/classes/base.oeclass
diff options
context:
space:
mode:
authorHolger Schurig <schurig@mn-solutions.de>2004-09-22 15:38:29 +0000
committerHolger Schurig <schurig@mn-solutions.de>2004-09-22 15:38:29 +0000
commitc5c3c1350347d66625c953dd89faada8cd53cc90 (patch)
treee4e87e336ba412edc58ba20e6c23aa1d9cf3a45c /classes/base.oeclass
parent69ff2935b54a7b6f8d5290041f0c1a96e5394a8c (diff)
first-aid against dangling .patches directories
BKrev: 41519c75KTKefruFzWKWNEqmpWWowg
Diffstat (limited to 'classes/base.oeclass')
-rw-r--r--classes/base.oeclass3
1 files changed, 2 insertions, 1 deletions
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: