diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-08 03:46:22 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-08 03:46:22 +0000 |
commit | b07c28aa827aa5ce7fab145e6f2328671c9cdea4 (patch) | |
tree | 54f6785c07cc08cf3071d299981e5d4824368dfa /dev-lang | |
parent | EAPI=2; RESTRICT=fetch (diff) | |
download | gentoo-2-b07c28aa827aa5ce7fab145e6f2328671c9cdea4.tar.gz gentoo-2-b07c28aa827aa5ce7fab145e6f2328671c9cdea4.tar.bz2 gentoo-2-b07c28aa827aa5ce7fab145e6f2328671c9cdea4.zip |
Changed to bash brackets
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ifc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/ifc/ifc-11.1.056.ebuild | 11 |
2 files changed, 9 insertions, 7 deletions
diff --git a/dev-lang/ifc/ChangeLog b/dev-lang/ifc/ChangeLog index 1b78167af444..536ea4a994d2 100644 --- a/dev-lang/ifc/ChangeLog +++ b/dev-lang/ifc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/ifc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.51 2009/10/07 19:29:16 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.52 2009/10/08 03:46:22 bicatali Exp $ + + 08 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> ifc-11.1.056.ebuild: + Changed to bash brackets 07 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> ifc-11.1.056.ebuild: Install env file in case of absent older one, and remove a flex file to diff --git a/dev-lang/ifc/ifc-11.1.056.ebuild b/dev-lang/ifc/ifc-11.1.056.ebuild index 22f2e01f54ab..8a924e039fbf 100644 --- a/dev-lang/ifc/ifc-11.1.056.ebuild +++ b/dev-lang/ifc/ifc-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/ifc/ifc-11.1.056.ebuild,v 1.2 2009/10/07 19:29:16 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-11.1.056.ebuild,v 1.3 2009/10/08 03:46:22 bicatali Exp $ EAPI=2 @@ -54,7 +54,6 @@ src_unpack() { use mkl && built_with_use dev-lang/icc mkl && rm -f rpm/*mkl*.rpm fi for x in rpm/intel*.rpm; do - einfo "Extracting $(basename ${x})..." rpm_unpack ./${x} || die "rpm_unpack ${x} failed" done } @@ -70,7 +69,7 @@ src_prepare() { -e '/^UNTAG_CFG_FILES[[:space:]]*(/,/^}/p' \ pset/install_fc.sh > tag.sh || die # fix world writeable files - [ -d ${DESTINATION}/mkl ] && chmod 644 \ + [[ -d ${DESTINATION}/mkl ]] && chmod 644 \ ${DESTINATION}/mkl/tools/{environment,builder}/* \ ${DESTINATION}/mkl/tools/plugins/*/* # remove for collision (bug #288038) @@ -100,11 +99,11 @@ 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 ] && \ + [[ -d ${DESTINATION}/idb ]] && \ dosym ../../common/com.intel.debugger.help_1.0.0 \ ${DESTINATION}/idb/gui/${IARCH}/plugins } |