summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-07-26 13:31:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 12:02:45 +0100
commit39130137e40fe62d7b9bf2c9226a082138217b37 (patch)
treedbba07d352d1dc3583b17432b4d6da880563720f /meta/classes
parenta029f81ed005470822eb34c00c9612f691256932 (diff)
downloadpoky-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.bbclass2
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
292realpath=\`readlink -fn \$0\` 292realpath=\`readlink -fn \$0\`
293exec \`dirname \$realpath\`/$cmdname "\$@" 293exec \`dirname \$realpath\`/$cmdname $@ "\$@"
294END 294END
295 chmod +x $cmd 295 chmod +x $cmd
296} 296}