[oe-commits] Chris Larson : oe.patch: fall back to '-' for quiltrc

git version control git at git.openembedded.org
Sat Oct 23 21:47:46 UTC 2010


Module: openembedded.git
Branch: master
Commit: b363fd06c81eb9bd302aff7603e0ca7a98d31bdc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b363fd06c81eb9bd302aff7603e0ca7a98d31bdc

Author: Chris Larson <chris_larson at mentor.com>
Date:   Sat Oct 23 14:43:55 2010 -0700

oe.patch: fall back to '-' for quiltrc

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 lib/oe/patch.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/oe/patch.py b/lib/oe/patch.py
index 085842d..29d5102 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)





More information about the Openembedded-commits mailing list