From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0C0A31388C2 for ; Wed, 16 Dec 2015 08:49:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAB6421C015; Wed, 16 Dec 2015 08:49:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E5E721C015 for ; Wed, 16 Dec 2015 08:49:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0050C33E01A for ; Wed, 16 Dec 2015 08:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C6E9A91 for ; Wed, 16 Dec 2015 08:49:15 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1450255752.724530ca465628f494ba6b44a6caf6615557bc9e.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycuda/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycuda/pycuda-2014.1.ebuild X-VCS-Directories: dev-python/pycuda/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 724530ca465628f494ba6b44a6caf6615557bc9e X-VCS-Branch: master Date: Wed, 16 Dec 2015 08:49:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 859a8a27-404f-4c42-84dd-bec9a3c39598 X-Archives-Hash: 2755f1cc1abbe005e48a7f5393b5ab7d commit: 724530ca465628f494ba6b44a6caf6615557bc9e Author: Justin Lecher gentoo org> AuthorDate: Tue Dec 15 16:12:51 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Dec 16 08:49:12 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=724530ca dev-python/pycuda: Check BUILD_DIR existance before creation Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568290 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/pycuda/pycuda-2014.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pycuda/pycuda-2014.1.ebuild b/dev-python/pycuda/pycuda-2014.1.ebuild index bfb7af9..5498282 100644 --- a/dev-python/pycuda/pycuda-2014.1.ebuild +++ b/dev-python/pycuda/pycuda-2014.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -52,7 +52,7 @@ python_configure() { local myopts=() use opengl && myopts+=( --cuda-enable-gl ) - mkdir "${BUILD_DIR}" || die + [[ -d "${BUILD_DIR}" ]] || mkdir "${BUILD_DIR}" || die cd "${BUILD_DIR}" || die [[ -e ./siteconf.py ]] && rm -f ./siteconf.py "${EPYTHON}" "${S}"/configure.py \