autoconf: Clean up slightly our mangle for /usr/bin/env
authorTom Rini <tom_rini@mentor.com>
Wed, 2 Feb 2011 15:08:55 +0000 (08:08 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 2 Feb 2011 16:42:44 +0000 (09:42 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/autoconf/autoconf.inc

index 2f8c122..7f22c2b 100644 (file)
@@ -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 = ""