Skip to contentSkip to conversation

openjade_1.3.2.bb: Create directory before installing a file to that location.

PATCH In review Graham Gower 2 participants 2 messages Dec 3, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openjade_1.3.2.bb: Create directory before installing a file to that location.

Fixes a breakage I introduced in last openjade commit.

---
 recipes/openjade/openjade_1.3.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/openjade/openjade_1.3.2.bb +2 -1
index 6c69173..afd333a 100644
@@ -44,7 +44,8 @@ do_install_append () {
 
        # The catalog must live in the sysroot and it must be there for
        # install-catalog to do its thing.
-       install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}
+       install -d ${datadir}/sgml/openjade-${PV}
+       install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}/catalog
        install-catalog --add ${sysconfdir}/sgml/openjade-${PV}.cat \
            ${datadir}/sgml/openjade-${PV}/catalog
 
Signature · 1 line
1.7.1