summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Gower <graham.gower@gmail.com>2010-12-03 14:41:41 +1030
committerKhem Raj <raj.khem@gmail.com>2010-12-03 12:27:06 -0800
commit0736c1231d3eaa825a5d73165d8a8d37134f9994 (patch)
tree4b0ce59bf63ae65a11aecd442b89b5bc8ee9d161
parentb11996a514b0cab6211b295dda75559bde76c59c (diff)
downloadopenembedded-0736c1231d3eaa825a5d73165d8a8d37134f9994.tar.gz
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@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Michael Smith <msmith@cbnco.com>
-rw-r--r--recipes/openjade/openjade_1.3.2.bb3
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 6c69173266..afd333a8f9 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