summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/texi2html
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-17 13:54:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:03:27 +0100
commit71a3ba536d022eea3a199cf4d6c5c791d91603a0 (patch)
tree1dec9f79d2032047308471b3ca6cb9f845d1db72 /meta/recipes-extended/texi2html
parenta40b89333652ca22a6e6957ab8a2a4e41b87b4c0 (diff)
downloadopenembedded-core-71a3ba536d022eea3a199cf4d6c5c791d91603a0.tar.gz
openembedded-core-71a3ba536d022eea3a199cf4d6c5c791d91603a0.tar.bz2
openembedded-core-71a3ba536d022eea3a199cf4d6c5c791d91603a0.zip
texi2html: Add check for directory existence
Without this, if configure fails, it won't be able to run again as the directory already exists. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texi2html')
-rw-r--r--meta/recipes-extended/texi2html/texi2html_5.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb
index 4b220f5ff8..f16841622e 100644
--- a/meta/recipes-extended/texi2html/texi2html_5.0.bb
+++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb
@@ -16,7 +16,9 @@ inherit autotools gettext
do_configure_prepend() {
# Make a directory for the old gettext setup
- mkdir ${S}/po
+ if [ ! -d ${S}/po ]; then
+ mkdir ${S}/po
+ fi
}
do_configure_append() {