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>
This commit is contained in:
Saul Wold 2011-07-26 13:31:45 -07:00 committed by Richard Purdie
parent a029f81ed0
commit 39130137e4
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ create_cmdline_wrapper () {
cat <<END >$cmd
#!/bin/sh
realpath=\`readlink -fn \$0\`
exec \`dirname \$realpath\`/$cmdname "\$@"
exec \`dirname \$realpath\`/$cmdname $@ "\$@"
END
chmod +x $cmd
}