[oe-commits] Tom Rini : autoconf: Clean up slightly our mangle for /usr/bin/env

git version control git at git.openembedded.org
Wed Feb 2 16:44:43 UTC 2011


Module: openembedded.git
Branch: master
Commit: c82877715f582084cc6174a525343e89182f26fc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c82877715f582084cc6174a525343e89182f26fc

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Feb  2 08:08:55 2011 -0700

autoconf: Clean up slightly our mangle for /usr/bin/env

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/autoconf/autoconf.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc
index 2f8c122..7f22c2b 100644
--- a/recipes/autoconf/autoconf.inc
+++ b/recipes/autoconf/autoconf.inc
@@ -31,7 +31,7 @@ do_configure_prepend () {
 
 do_configure_append() {
 	# replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
-	sed -i -e "s:#! @PERL@ -w:#! /usr/bin/env perl:" ${S}/bin/*.in
+	sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/bin/*.in
 }
 
 PARALLEL_MAKE = ""





More information about the Openembedded-commits mailing list