diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-07 18:56:54 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-07 18:56:54 +0000 |
commit | 436ccba54445507dffec6f228252b5685ecb51d2 (patch) | |
tree | cb0b9ecc4175d3b481fff3e42d644164c0dc6f72 /dev-lang | |
parent | Install env file in case of absent older one (diff) | |
download | gentoo-2-436ccba54445507dffec6f228252b5685ecb51d2.tar.gz gentoo-2-436ccba54445507dffec6f228252b5685ecb51d2.tar.bz2 gentoo-2-436ccba54445507dffec6f228252b5685ecb51d2.zip |
Install env file in case of absent older one
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/icc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/icc/icc-11.1.056.ebuild | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog index c130d7d320c1..83d152d34d2f 100644 --- a/dev-lang/icc/ChangeLog +++ b/dev-lang/icc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/icc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.73 2009/10/07 18:54:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.74 2009/10/07 18:56:54 bicatali Exp $ + + 07 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> icc-11.1.056.ebuild: + Install env file in case of absent older one 07 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> icc-11.1.056.ebuild: Install env file in case of absent older one diff --git a/dev-lang/icc/icc-11.1.056.ebuild b/dev-lang/icc/icc-11.1.056.ebuild index 58893ca460d6..8e28d66167fa 100644 --- a/dev-lang/icc/icc-11.1.056.ebuild +++ b/dev-lang/icc/icc-11.1.056.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.056.ebuild,v 1.3 2009/10/07 18:54:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.056.ebuild,v 1.4 2009/10/07 18:56:54 bicatali Exp $ EAPI=2 @@ -119,8 +119,8 @@ src_install() { NLSPATH="${ROOT}${DESTINATION}/lib/locale/en_US/%N" MANPATH="${ROOT}${DESTINATION}/man/en_US" EOF - if [ ! -e ${ROOT}etc/env.d/${envf} ] || - [ -n "$(diff ${ROOT}etc/env.d/${envf} ./${envf})" ]; then + if [ ! -e "${ROOT}"etc/env.d/${envf} ] || + [ -n $(diff "${ROOT}"etc/env.d/${envf} ./${envf}) ]; then doenvd ${envf} || die "doenvd ${envf} failed" fi [ -d ${DESTINATION}/idb ] && \ |