[OE-core] [Consolidated & Tested 35/35] utils.bbclass: Don't forget to pass the cmdline options
Saul Wold
sgw at linux.intel.com
Wed Jul 27 07:47:25 UTC 2011
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 at linux.intel.com>
---
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 9930a24..8c3a9b8 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
}
--
1.7.3.4
More information about the Openembedded-core
mailing list