summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2010-11-28 20:54:55 +0000
committerMichael Januszewski <spock@gentoo.org>2010-11-28 20:54:55 +0000
commit93d500e45cf336f1740c2bbe461c9801a5ef735d (patch)
treea0b7e63e2dc777acea1b35a336148024de930844 /dev-util/nvidia-cuda-sdk
parentVersion bump (bug #341531). (diff)
downloadgentoo-2-93d500e45cf336f1740c2bbe461c9801a5ef735d.tar.gz
gentoo-2-93d500e45cf336f1740c2bbe461c9801a5ef735d.tar.bz2
gentoo-2-93d500e45cf336f1740c2bbe461c9801a5ef735d.zip
Do not try to install directories with doins.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/nvidia-cuda-sdk')
-rw-r--r--dev-util/nvidia-cuda-sdk/ChangeLog6
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild16
2 files changed, 14 insertions, 8 deletions
diff --git a/dev-util/nvidia-cuda-sdk/ChangeLog b/dev-util/nvidia-cuda-sdk/ChangeLog
index a1b2f3130323..7e677b96bee0 100644
--- a/dev-util/nvidia-cuda-sdk/ChangeLog
+++ b/dev-util/nvidia-cuda-sdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/nvidia-cuda-sdk
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.22 2010/09/30 08:59:17 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.23 2010/11/28 20:54:55 spock Exp $
+
+ 28 Nov 2010; Michał Januszewski <spock@gentoo.org>
+ nvidia-cuda-sdk-3.1.ebuild:
+ Do not try to install directories with doins.
30 Sep 2010; Michał Januszewski <spock@gentoo.org>
nvidia-cuda-sdk-2.1.1215.2015.ebuild, nvidia-cuda-sdk-2.2.ebuild,
diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild
index a6638e050925..297f6745e7d7 100644
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild
+++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild,v 1.2 2010/09/16 16:46:48 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-3.1.ebuild,v 1.3 2010/11/28 20:54:55 spock Exp $
EAPI=2
@@ -74,12 +74,14 @@ src_install() {
continue
fi
- if [[ -x "${f}" && ! -d "${f}" ]]; then
- exeinto "/opt/cuda/sdk/${t}"
- doexe "${f}"
- else
- insinto "/opt/cuda/sdk/${t}"
- doins "${f}"
+ if [[ ! -d "${f}" ]]; then
+ if [[ -x "${f}" ]]; then
+ exeinto "/opt/cuda/sdk/${t}"
+ doexe "${f}"
+ else
+ insinto "/opt/cuda/sdk/${t}"
+ doins "${f}"
+ fi
fi
done
}