Patchwork [v2,2/2] classes/sanity: fix some grammatical errors in messages

login
register
mail settings
Submitter Paul Eggleton
Date Aug. 1, 2013, 5:17 p.m.
Message ID <3b75fb5b6349ec4e06a28eeab093a55f0eca0b53.1375377305.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/54931/
State Accepted
Commit e2cccd73e480318461641d8bc26d538178ff628a
Headers show

Comments

Paul Eggleton - Aug. 1, 2013, 5:17 p.m.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/sanity.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index cc67490..4df3ca8 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -522,7 +522,7 @@  def check_sanity_version_change(status, d):
         status.addresult("Your gcc version is older than 4.5, please add the following param to local.conf\n \
         %s\n" % message)
     if not result:
-        status.addresult("Your gcc version is older then 4.5 or is not working properly.  Please verify you can build")
+        status.addresult("Your gcc version is older than 4.5 or is not working properly.  Please verify you can build")
         status.addresult(" and link something that uses atomic operations, such as: \n")
         status.addresult("        __sync_bool_compare_and_swap (&atomic, 2, 3);\n")
 
@@ -567,7 +567,7 @@  def check_sanity_version_change(status, d):
 
     oes_bb_conf = d.getVar( 'OES_BITBAKE_CONF', True)
     if not oes_bb_conf:
-        status.addresult('You do not include the OpenEmbedded version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n')
+        status.addresult('You are not using the OpenEmbedded version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n')
 
     # The length of tmpdir can't be longer than 410
     status.addresult(check_path_length(tmpdir, "TMPDIR", 410))
@@ -631,7 +631,7 @@  def check_sanity_everybuild(status, d):
     if d.getVar( 'IMAGETEST', True ) == 'qemu':
         display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True)
         if not display:
-            status.addresult('qemuimagetest needs a X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n')
+            status.addresult('qemuimagetest needs an X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n')
 
     omask = os.umask(022)
     if omask & 0755: