mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user