summaryrefslogtreecommitdiffstats
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 11:54:53 +0100
commit190b4f17f5fc9879e680278dd0e31e26e5f5bca0 (patch)
treec5587ff79ac1635c4c2d9a65c2e45ac59ff9be0a
parentbdcd377eb54b5af34151b7c20459771901a65f4b (diff)
downloadopenembedded-core-contrib-190b4f17f5fc9879e680278dd0e31e26e5f5bca0.tar.gz
openembedded-core-contrib-190b4f17f5fc9879e680278dd0e31e26e5f5bca0.tar.bz2
openembedded-core-contrib-190b4f17f5fc9879e680278dd0e31e26e5f5bca0.zip
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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
-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 () {
cat <<END >$cmd
#!/bin/sh
realpath=\`readlink -fn \$0\`
-exec \`dirname \$realpath\`/$cmdname "\$@"
+exec \`dirname \$realpath\`/$cmdname $@ "\$@"
END
chmod +x $cmd
}