gnome-doc-utils: Fix xml2po and long path to python
authorTom Rini <tom_rini@mentor.com>
Thu, 24 Feb 2011 19:38:46 +0000 (12:38 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 24 Feb 2011 19:38:46 +0000 (12:38 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/gnome/gnome-doc-utils.inc

index b5bbae1..a1ae11e 100644 (file)
@@ -2,7 +2,7 @@ LICENSE = "GPL LGPL"
 DEPENDS = "libxml2 libxslt libxslt-native libxml2-native gettext-native"
 DEPENDS_virtclass-native = "libxslt-native libxml2-native gettext-native"
 
-INC_PR = "r5"
+INC_PR = "r6"
 
 inherit gnomebase
 
@@ -15,7 +15,7 @@ do_configure_prepend() {
 do_install_append() {
        mkdir -p  ${D}${datadir}/xml/gnome/xslt/
        cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
-       sed -i "1s:/.*/python:${bindir}/python:" ${D}${bindir}/xml2po
+       sed -i "1s:.*:#!/usr/bin/env python:" ${D}${bindir}/xml2po
 }
 
 FILES_${PN} += "${datadir}/xml*"