diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-07-26 13:31:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 12:02:45 +0100 |
commit | 39130137e40fe62d7b9bf2c9226a082138217b37 (patch) | |
tree | dbba07d352d1dc3583b17432b4d6da880563720f /meta/classes | |
parent | a029f81ed005470822eb34c00c9612f691256932 (diff) | |
download | poky-39130137e40fe62d7b9bf2c9226a082138217b37.tar.gz |
utils.bbclass: Don't forget to pass the cmdline options
This ensure that the command line options from the creation of the wrapper
are actaully passed into the wrapper.
(From OE-Core rev: 190b4f17f5fc9879e680278dd0e31e26e5f5bca0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/utils.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 9930a24269..8c3a9b87e9 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass | |||
@@ -290,7 +290,7 @@ create_cmdline_wrapper () { | |||
290 | cat <<END >$cmd | 290 | cat <<END >$cmd |
291 | #!/bin/sh | 291 | #!/bin/sh |
292 | realpath=\`readlink -fn \$0\` | 292 | realpath=\`readlink -fn \$0\` |
293 | exec \`dirname \$realpath\`/$cmdname "\$@" | 293 | exec \`dirname \$realpath\`/$cmdname $@ "\$@" |
294 | END | 294 | END |
295 | chmod +x $cmd | 295 | chmod +x $cmd |
296 | } | 296 | } |