From 190b4f17f5fc9879e680278dd0e31e26e5f5bca0 Mon Sep 17 00:00:00 2001
From: Saul Wold <sgw@linux.intel.com>
Date: Tue, 26 Jul 2011 13:31:45 -0700
Subject: 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>
---
 meta/classes/utils.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'meta/classes')

diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 9930a2426..8c3a9b87e 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
 }
-- 
cgit v1.2.3