summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-11-18 19:54:06 +0000
committerJustin Lecher <jlec@gentoo.org>2014-11-18 19:54:06 +0000
commit1d92c99d24555fbb525bcff5e59daa11c4166422 (patch)
treee61b350ba85654d947bb2ffdba5135d9ce0283f4
parentVersion bump, drop old (diff)
downloadhistorical-1d92c99d24555fbb525bcff5e59daa11c4166422.tar.gz
historical-1d92c99d24555fbb525bcff5e59daa11c4166422.tar.bz2
historical-1d92c99d24555fbb525bcff5e59daa11c4166422.zip
Add missing quotes, thanks mgorny for heads up
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/cuda.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 33c309aad436..fabae3b5dce6 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1427 2014/11/18 19:44:02 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1428 2014/11/18 19:54:06 jlec Exp $
+
+ 18 Nov 2014; Justin Lecher <jlec@gentoo.org> cuda.eclass:
+ Add missing quotes, thanks mgorny for heads up
18 Nov 2014; Justin Lecher <jlec@gentoo.org> cuda.eclass:
Fix gcc detection when using multislot, #529710
diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass
index 3911f4886432..2a52dee95df5 100644
--- a/eclass/cuda.eclass
+++ b/eclass/cuda.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.5 2014/11/18 19:44:02 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.6 2014/11/18 19:54:06 jlec Exp $
inherit flag-o-matic toolchain-funcs versionator
@@ -71,7 +71,7 @@ cuda_gccdir() {
fi
for ver in ${args}; do
- has_version =sys-devel/gcc-${ver}* && \
+ has_version "=sys-devel/gcc-${ver}*" && \
gcc_bindir="$(ls -d ${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/${ver}* | tail -n 1)"
done