diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-17 13:54:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:45 +0100 |
commit | 25e060dde108a3d534be78f84a481ae7aeaec915 (patch) | |
tree | f24bc5ad6d9e70ce7e7ac00f4d44682c93606bb8 /meta/recipes-extended/texi2html/texi2html_5.0.bb | |
parent | 1a731b5f3164bef1a3b7c4948e7bf3e384c31330 (diff) | |
download | poky-25e060dde108a3d534be78f84a481ae7aeaec915.tar.gz |
texi2html: Add check for directory existence
Without this, if configure fails, it won't be able to run again as the directory
already exists.
(From OE-Core rev: 71a3ba536d022eea3a199cf4d6c5c791d91603a0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texi2html/texi2html_5.0.bb')
-rw-r--r-- | meta/recipes-extended/texi2html/texi2html_5.0.bb | 4 |
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 | |||
16 | 16 | ||
17 | do_configure_prepend() { | 17 | do_configure_prepend() { |
18 | # Make a directory for the old gettext setup | 18 | # Make a directory for the old gettext setup |
19 | mkdir ${S}/po | 19 | if [ ! -d ${S}/po ]; then |
20 | mkdir ${S}/po | ||
21 | fi | ||
20 | } | 22 | } |
21 | 23 | ||
22 | do_configure_append() { | 24 | do_configure_append() { |