summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpjday@crashcourse.ca <rpjday@crashcourse.ca>2020-03-29 07:39:49 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-30 12:33:10 +0100
commit15ad048ffa5a80e81b4e04bf98e14e8e23e409f9 (patch)
tree7f4e6d8090b7d887964160967b869bf925068106
parent525d703d6f846e9706481a816910aef2ee70fb54 (diff)
downloadopenembedded-core-contrib-15ad048ffa5a80e81b4e04bf98e14e8e23e409f9.tar.gz
openembedded-core-contrib-15ad048ffa5a80e81b4e04bf98e14e8e23e409f9.tar.bz2
openembedded-core-contrib-15ad048ffa5a80e81b4e04bf98e14e8e23e409f9.zip
yocto-check-layer: simple grammatical fixes
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/yocto-check-layer6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 010830f842..ca6c79bc8d 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -84,7 +84,7 @@ def main():
logger.setLevel(logging.ERROR)
if not 'BUILDDIR' in os.environ:
- logger.error("You must source the environment before run this script.")
+ logger.error("You must source the environment before running this script.")
logger.error("$ source oe-init-build-env")
return 1
builddir = os.environ['BUILDDIR']
@@ -92,7 +92,7 @@ def main():
layers = detect_layers(args.layers, args.no_auto)
if not layers:
- logger.error("Fail to detect layers")
+ logger.error("Failed to detect layers")
return 1
if args.additional_layers:
additional_layers = detect_layers(args.additional_layers, args.no_auto)
@@ -108,7 +108,7 @@ def main():
for layer in layers:
if layer['type'] == LayerType.ERROR_BSP_DISTRO:
logger.error("%s: Can't be DISTRO and BSP type at the same time."\
- " The conf/distro and conf/machine folders was found."\
+ " Both conf/distro and conf/machine folders were found."\
% layer['name'])
layers.remove(layer)
elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF: