diff options
author | 2014-02-06 05:34:07 +0000 | |
---|---|---|
committer | 2014-02-06 05:34:07 +0000 | |
commit | ab36f8e7f02e880937074823a37405a323f05022 (patch) | |
tree | 0f8cd177eba2cbf87770bf407d8c1f01179d5215 /eclass | |
parent | Initial import (diff) | |
download | gentoo-2-ab36f8e7f02e880937074823a37405a323f05022.tar.gz gentoo-2-ab36f8e7f02e880937074823a37405a323f05022.tar.bz2 gentoo-2-ab36f8e7f02e880937074823a37405a323f05022.zip |
minor grammar fixes
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/python.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/python.eclass b/eclass/python.eclass index 31cbd7115df9..096822d2fd1c 100644 --- a/eclass/python.eclass +++ b/eclass/python.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.168 2013/09/18 18:47:59 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.169 2014/02/06 05:34:07 vapier Exp $ # @ECLASS: python.eclass # @MAINTAINER: @@ -341,14 +341,14 @@ _python_initial_sanity_checks() { if [[ "$(declare -p PYTHON_SANITY_CHECKS_EXECUTED 2> /dev/null)" != "declare -- PYTHON_SANITY_CHECKS_EXECUTED="* || " ${FUNCNAME[@]:1} " =~ " "(python_set_active_version|python_pkg_setup)" " && -z "${PYTHON_SKIP_SANITY_CHECKS}" ]]; then # Ensure that /usr/bin/python and /usr/bin/python-config are valid. if [[ "$(readlink "${EPREFIX}/usr/bin/python")" != "python-wrapper" ]]; then - eerror "'${EPREFIX}/usr/bin/python' is not valid symlink." + eerror "'${EPREFIX}/usr/bin/python' is not a valid symlink." eerror "Use \`eselect python set \${python_interpreter}\` to fix this problem." - die "'${EPREFIX}/usr/bin/python' is not valid symlink" + die "'${EPREFIX}/usr/bin/python' is not a valid symlink" fi if [[ "$(<"${EPREFIX}/usr/bin/python-config")" != *"Gentoo python-config wrapper script"* ]]; then - eerror "'${EPREFIX}/usr/bin/python-config' is not valid script" + eerror "'${EPREFIX}/usr/bin/python-config' is not a valid script" eerror "Use \`eselect python set \${python_interpreter}\` to fix this problem." - die "'${EPREFIX}/usr/bin/python-config' is not valid script" + die "'${EPREFIX}/usr/bin/python-config' is not a valid script" fi fi } @@ -802,7 +802,7 @@ _python_calculate_PYTHON_ABIS() { if has_version "=dev-lang/python-2*"; then if [[ "$(readlink "${EPREFIX}/usr/bin/python2")" != "python2."* ]]; then - die "'${EPREFIX}/usr/bin/python2' is not valid symlink" + die "'${EPREFIX}/usr/bin/python2' is not a valid symlink" fi python2_version="$("${EPREFIX}/usr/bin/python2" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')" @@ -825,7 +825,7 @@ _python_calculate_PYTHON_ABIS() { if has_version "=dev-lang/python-3*"; then if [[ "$(readlink "${EPREFIX}/usr/bin/python3")" != "python3."* ]]; then - die "'${EPREFIX}/usr/bin/python3' is not valid symlink" + die "'${EPREFIX}/usr/bin/python3' is not a valid symlink" fi python3_version="$("${EPREFIX}/usr/bin/python3" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')" |