openjade_1.3.2.bb: Create directory before installing a file to that location.
authorGraham Gower <graham.gower@gmail.com>
Fri, 3 Dec 2010 04:11:41 +0000 (14:41 +1030)
committerKhem Raj <raj.khem@gmail.com>
Fri, 3 Dec 2010 20:27:06 +0000 (12:27 -0800)
Fixes a breakage I introduced in last openjade commit.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Michael Smith <msmith@cbnco.com>
recipes/openjade/openjade_1.3.2.bb

index 6c69173..afd333a 100644 (file)
@@ -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