[oe-commits] Tom Rini : gnome-doc-utils: Fix xml2po and long path to python

git version control git at git.openembedded.org
Thu Feb 24 19:41:21 UTC 2011


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

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Feb 24 12:38:46 2011 -0700

gnome-doc-utils: Fix xml2po and long path to python

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

---

 recipes/gnome/gnome-doc-utils.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/gnome/gnome-doc-utils.inc b/recipes/gnome/gnome-doc-utils.inc
index b5bbae1..a1ae11e 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*"





More information about the Openembedded-commits mailing list