aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/update-alternatives.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-12-14 09:11:25 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-05 09:10:04 +0000
commitb63fd2c71b9d5d3bcaa98fe08b2e65db8c2bf6d1 (patch)
tree069485796f18064e43afd8ceab44c5cab6ad7252 /meta/classes/update-alternatives.bbclass
parentf309769d10cb3d8b72b8c7c4f7f418dcb8422c61 (diff)
downloadopenembedded-core-contrib-b63fd2c71b9d5d3bcaa98fe08b2e65db8c2bf6d1.tar.gz
classes/update-alternatives: fix typos and grammar
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-rw-r--r--meta/classes/update-alternatives.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index e5ba6550d7..0e8e58bd03 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -3,7 +3,7 @@
# command directly in your recipe, but in most cases this class simplifies
# that job.
#
-# There're two basic modes supported: 'single update' and 'batch update'
+# There are two basic modes supported: 'single update' and 'batch update'
#
# 'single update' is used for a single alternative command, and you're
# expected to provide at least below keywords:
@@ -11,19 +11,19 @@
# ALTERNATIVE_NAME - the name that the alternative is registered
# ALTERNATIVE_PATH - the path of installed alternative
#
-# ALTENATIVE_PRIORITY and ALTERNATIVE_LINK are optional which have defautls
+# ALTERNATIVE_PRIORITY and ALTERNATIVE_LINK are optional which have defaults
# in this class.
#
# 'batch update' is used if you have multiple alternatives to be updated.
# Unlike 'single update', 'batch update' in most times only require two
-# parameter:
+# parameters:
#
-# ALTERNATIVE_LINKS - a list of symbol links for which you'd like to
+# ALTERNATIVE_LINKS - a list of symbolic links for which you'd like to
# create alternatives, with space as delimiter, e.g:
#
# ALTERNATIVE_LINKS = "${bindir}/cmd1 ${sbindir}/cmd2 ..."
#
-# ALTNERATIVE_PRIORITY - optional, applies to all
+# ALTERNATIVE_PRIORITY - optional, applies to all
#
# To simplify the design, this class has the assumption that for a name
# listed in ALTERNATIVE_LINKS, say /path/cmd:
@@ -49,7 +49,7 @@ update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH}
}
# for batch alternatives, we use a simple approach to require only one parameter
-# with the rest info deduced implicitly
+# with the rest of the info deduced implicitly
update_alternatives_batch_postinst() {
for link in ${ALTERNATIVE_LINKS}
do