/[gentoo-x86]/eclass/cuda.eclass
Gentoo

Diff of /eclass/cuda.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.6 2014/11/18 19:54:06 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.7 2015/05/25 10:07:33 jlec Exp $
4 4
5inherit flag-o-matic toolchain-funcs versionator 5inherit flag-o-matic toolchain-funcs versionator
6 6
7# @ECLASS: cuda.eclass 7# @ECLASS: cuda.eclass
8# @MAINTAINER: 8# @MAINTAINER:
75 gcc_bindir="$(ls -d ${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/${ver}* | tail -n 1)" 75 gcc_bindir="$(ls -d ${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/${ver}* | tail -n 1)"
76 done 76 done
77 77
78 if [[ -n ${gcc_bindir} ]]; then 78 if [[ -n ${gcc_bindir} ]]; then
79 if [[ -n ${flag} ]]; then 79 if [[ -n ${flag} ]]; then
80 ret="${flag}\\\"${gcc_bindir}\\\"" 80 ret="${flag}\"${gcc_bindir}\""
81 else 81 else
82 ret="${gcc_bindir}" 82 ret="${gcc_bindir}"
83 fi 83 fi
84 echo ${ret} 84 echo ${ret}
85 return 0 85 return 0

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20