[oe-commits] Richard Purdie : utils.bbclass: Fix documentation of create_cmdline_wrapper

git at git.openembedded.org git at git.openembedded.org
Wed Nov 14 14:40:17 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 56160ca49dd546b7db07ae2021eefef7279b0f10
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=56160ca49dd546b7db07ae2021eefef7279b0f10

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Nov  9 12:02:04 2012 +0100

utils.bbclass: Fix documentation of create_cmdline_wrapper

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/utils.bbclass |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index c47ad69..52e511f 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -246,12 +246,12 @@ oe_machinstall() {
 }
 
 create_cmdline_wrapper () {
-	# Create a wrapper script
+	# Create a wrapper script where commandline options are needed
 	#
-	# These are useful to work around relocation issues, by setting environment
-	# variables which point to paths in the filesystem.
+	# These are useful to work around relocation issues, by passing extra options 
+	# to a program
 	#
-	# Usage: create_wrapper FILENAME [[VAR=VALUE]..]
+	# Usage: create_cmdline_wrapper FILENAME <extra-options>
 
 	cmd=$1
 	shift
@@ -269,7 +269,7 @@ END
 }
 
 create_wrapper () {
-	# Create a wrapper script
+	# Create a wrapper script where extra environment variables are needed
 	#
 	# These are useful to work around relocation issues, by setting environment
 	# variables which point to paths in the filesystem.





More information about the Openembedded-commits mailing list