From 4efc9b0446c8fd083db8bcaa1b7697686de3fe09 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 24 Feb 2011 12:38:46 -0700 Subject: gnome-doc-utils: Fix xml2po and long path to python Signed-off-by: Tom Rini --- recipes/gnome/gnome-doc-utils.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/gnome') 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*" -- cgit 1.2.3-korg