From: Chris Larson Date: Sat, 23 Oct 2010 21:43:55 +0000 (-0700) Subject: oe.patch: fall back to '-' for quiltrc X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b363fd06c81eb9bd302aff7603e0ca7a98d31bdc;p=openembedded.git oe.patch: fall back to '-' for quiltrc Signed-off-by: Chris Larson --- diff --git a/lib/oe/patch.py b/lib/oe/patch.py index 085842dca3..29d5102775 100644 --- a/lib/oe/patch.py +++ b/lib/oe/patch.py @@ -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)