[oe-commits] Chris Larson : create_wrapper: wrappers are more useful if they pass args *coughs*
git version control
git at git.openembedded.org
Sun Oct 3 15:59:54 UTC 2010
Module: openembedded.git
Branch: master
Commit: 292f2bffda16ec4a657f4ad0a4ab4134ce9a5f21
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=292f2bffda16ec4a657f4ad0a4ab4134ce9a5f21
Author: Chris Larson <chris_larson at mentor.com>
Date: Sun Oct 3 08:56:47 2010 -0700
create_wrapper: wrappers are more useful if they pass args *coughs*
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
classes/utils.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/utils.bbclass b/classes/utils.bbclass
index b62bd11..61f3731 100644
--- a/classes/utils.bbclass
+++ b/classes/utils.bbclass
@@ -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
}
More information about the Openembedded-commits
mailing list