From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TOUuD-0007IB-Kz for openembedded-core@lists.openembedded.org; Wed, 17 Oct 2012 16:47:33 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q9HEYFOM006710 for ; Wed, 17 Oct 2012 15:34:15 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05962-07 for ; Wed, 17 Oct 2012 15:34:11 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q9HEY8Vt006704 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 17 Oct 2012 15:34:08 +0100 Message-ID: <1350484455.2185.84.camel@ted> From: Richard Purdie To: openembedded-core Date: Wed, 17 Oct 2012 15:34:15 +0100 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: [PATCH] texi2html: Add check for directory existence X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2012 14:47:33 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Without this, if configure fails, it won't be able to run again as the directory already exists. 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 4b220f5..f168416 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() {