create_wrapper: wrappers are more useful if they pass args *coughs*
authorChris Larson <chris_larson@mentor.com>
Sun, 3 Oct 2010 15:56:47 +0000 (08:56 -0700)
committerChris Larson <chris_larson@mentor.com>
Sun, 3 Oct 2010 15:58:31 +0000 (08:58 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/utils.bbclass

index b62bd11..61f3731 100644 (file)
@@ -467,7 +467,7 @@ create_wrapper () {
    cmdname=`basename $cmd`.real
    cat <<END >$cmd
 #!/bin/sh
-exec env $@ \`dirname \$0\`/$cmdname
+exec env $@ \`dirname \$0\`/$cmdname "\$@"
 END
    chmod +x $cmd
 }