oe.patch: fall back to '-' for quiltrc
authorChris Larson <chris_larson@mentor.com>
Sat, 23 Oct 2010 21:43:55 +0000 (14:43 -0700)
committerChris Larson <chris_larson@mentor.com>
Sat, 23 Oct 2010 21:43:55 +0000 (14:43 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/oe/patch.py

index 085842d..29d5102 100644 (file)
@@ -132,7 +132,7 @@ class GitApplyTree(PatchTree):
 
 class QuiltTree(PatchSet):
     def _runcmd(self, args, run = True):
-        quiltrc = bb.data.getVar('QUILTRCFILE', self.d, 1)
+        quiltrc = bb.data.getVar('QUILTRCFILE', self.d, 1) or '-'
         cmdline = ["quilt", "--quiltrc=%s" % quiltrc] + args
         if not run:
             return subprocess.list2cmdline(cmdline)