From: Richard Purdie Date: Wed, 17 Oct 2012 13:54:01 +0000 (+0000) Subject: texi2html: Add check for directory existence X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25e060dde108a3d534be78f84a481ae7aeaec915;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb index 4b220f5ff8d..f16841622e3 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() {