aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oe
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-23 14:43:55 -0700
committerChris Larson <chris_larson@mentor.com>2010-10-23 14:43:55 -0700
commitb363fd06c81eb9bd302aff7603e0ca7a98d31bdc (patch)
tree40f56ac1a04d314dcaf9623e97f1aca709681e4c /lib/oe
parent54ca785343126e26af2b5d5200528e08bf805c81 (diff)
downloadopenembedded-b363fd06c81eb9bd302aff7603e0ca7a98d31bdc.tar.gz
openembedded-b363fd06c81eb9bd302aff7603e0ca7a98d31bdc.tar.bz2
openembedded-b363fd06c81eb9bd302aff7603e0ca7a98d31bdc.zip
oe.patch: fall back to '-' for quiltrc
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/oe')
-rw-r--r--lib/oe/patch.py2
1 files changed, 1 insertions, 1 deletions
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)