]> code.ossystems Code Review - openembedded-core.git/commitdiff
utils.bbclass: Don't forget to pass the cmdline options
authorSaul Wold <sgw@linux.intel.com>
Tue, 26 Jul 2011 20:31:45 +0000 (13:31 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jul 2011 10:54:53 +0000 (11:54 +0100)
This ensure that the command line options from the creation of the wrapper
are actaully passed into the wrapper.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/utils.bbclass

index 9930a242699f93d888f350638065f2a409507b08..8c3a9b87e9404eb5ed0914f0b5be41e196fc2a26 100644 (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
 }