From 23f4288082a381eb3141244622b8de6ef0d6d01e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Apr 2012 10:49:45 +0100 Subject: sgml-common: Fix re-execution of the compile task The sed command run during do_compile isn't idempotent. This change fixes it so that it is and the compile task can be re-executed. [YOCTO #2194] (From OE-Core rev: c9dcfbd87d749baa0a4948738055193982aad26d) Signed-off-by: Richard Purdie --- meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb index 63e0acdba7..27b1a48ebd 100644 --- a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb +++ b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb @@ -26,7 +26,7 @@ inherit autotools do_compile_append() { # install-catalog script contains hardcoded references to /etc/sgml - sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/install-catalog + sed -i -e 's|\([ "]\+\)/etc/sgml|\1${sysconfdir}/sgml|g' bin/install-catalog } FILES_sgml-common_append = " ${datadir}/sgml" -- cgit v1.2.3-54-g00ecf