From: Tom Rini Date: Thu, 24 Feb 2011 19:38:46 +0000 (-0700) Subject: gnome-doc-utils: Fix xml2po and long path to python X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4efc9b0446c8fd083db8bcaa1b7697686de3fe09;p=openembedded.git gnome-doc-utils: Fix xml2po and long path to python Signed-off-by: Tom Rini --- diff --git a/recipes/gnome/gnome-doc-utils.inc b/recipes/gnome/gnome-doc-utils.inc index b5bbae1529..a1ae11e4b0 100644 --- a/recipes/gnome/gnome-doc-utils.inc +++ b/recipes/gnome/gnome-doc-utils.inc @@ -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*"