[oe-commits] Graham Gower : openjade_1.3.2.bb: Create directory before installing a file to that location.

git version control git at git.openembedded.org
Fri Dec 3 20:28:26 UTC 2010


Module: openembedded.git
Branch: release-2010.12
Commit: 0736c1231d3eaa825a5d73165d8a8d37134f9994
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0736c1231d3eaa825a5d73165d8a8d37134f9994

Author: Graham Gower <graham.gower at gmail.com>
Date:   Fri Dec  3 14:59:41 2010 +1030

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

Fixes a breakage I introduced in last openjade commit.

Signed-off-by: Graham Gower <graham.gower at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Michael Smith <msmith at cbnco.com>

---

 recipes/openjade/openjade_1.3.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/openjade/openjade_1.3.2.bb b/recipes/openjade/openjade_1.3.2.bb
index 6c69173..afd333a 100644
--- a/recipes/openjade/openjade_1.3.2.bb
+++ b/recipes/openjade/openjade_1.3.2.bb
@@ -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
 





More information about the Openembedded-commits mailing list