public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycuda/
Date: Wed, 16 Dec 2015 08:49:15 +0000 (UTC)	[thread overview]
Message-ID: <1450255752.724530ca465628f494ba6b44a6caf6615557bc9e.jlec@gentoo> (raw)

commit:     724530ca465628f494ba6b44a6caf6615557bc9e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 16:12:51 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec <AT> 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 \


             reply	other threads:[~2015-12-16  8:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-16  8:49 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-08-23  9:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/pycuda/ David Seifert
2016-08-30 19:07 David Seifert
2017-07-31 18:12 Sebastien Fabbro
2018-05-16 22:57 Aaron Bauman
2018-06-24 16:21 Pacho Ramos
2019-01-04 17:24 Guilherme Amadio
2019-12-12 16:46 Michał Górny
2019-12-27 18:52 David Seifert
2019-12-29 13:06 David Seifert
2020-03-28 17:21 Michał Górny
2020-08-23 11:34 David Seifert
2020-08-23 11:34 David Seifert
2020-08-23 12:19 David Seifert
2022-05-31  9:50 Ionen Wolkens
2022-06-16  8:08 Michał Górny
2023-05-05 13:16 Pacho Ramos
2023-05-05 13:16 Pacho Ramos
2023-07-24 11:33 Michał Górny
2024-01-26 23:09 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450255752.724530ca465628f494ba6b44a6caf6615557bc9e.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox