first-aid against dangling .patches directories
authorHolger Schurig <schurig@mn-solutions.de>
Wed, 22 Sep 2004 15:38:29 +0000 (15:38 +0000)
committerHolger Schurig <schurig@mn-solutions.de>
Wed, 22 Sep 2004 15:38:29 +0000 (15:38 +0000)
BKrev: 41519c75KTKefruFzWKWNEqmpWWowg

classes/base.oeclass

index cb8d59d..679439f 100644 (file)
@@ -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: