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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-04-16 10:49:45 +01:00
parent 469d73a733
commit 23f4288082
1 changed files with 1 additions and 1 deletions

View File

@ -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"