utils.bbclass: Fix documentation of create_cmdline_wrapper
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Nov 2012 11:02:04 +0000 (12:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Nov 2012 14:38:28 +0000 (14:38 +0000)
(From OE-Core rev: 56160ca49dd546b7db07ae2021eefef7279b0f10)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass

index c47ad69..52e511f 100644 (file)
@@ -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.