diff options
author | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-06 02:47:50 +0000 |
---|---|---|
committer | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-06 02:47:50 +0000 |
commit | 569234eda740694fdb6de96e439df5d6f4c0f231 (patch) | |
tree | 4eb5e4f7f5236b44953012c5c666127b412c71b5 /eclass/distutils.eclass | |
parent | Modified this eclass in order to help handle python extensions for (diff) | |
download | historical-569234eda740694fdb6de96e439df5d6f4c0f231.tar.gz historical-569234eda740694fdb6de96e439df5d6f4c0f231.tar.bz2 historical-569234eda740694fdb6de96e439df5d6f4c0f231.zip |
tstr shoudl have been tmpstr. Fixed.
Diffstat (limited to 'eclass/distutils.eclass')
-rw-r--r-- | eclass/distutils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass index 479b1d2ac66a..b8574ff8ba6a 100644 --- a/eclass/distutils.eclass +++ b/eclass/distutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.6 2003/03/06 02:29:53 kutsuya Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.7 2003/03/06 02:47:50 kutsuya Exp $ # # Author: Jon Nelson <jnelson@gentoo.org> # @@ -38,8 +38,8 @@ distutils_src_install() { distutils_python_version() { local tmpstr="$(${python} -V 2>&1 )" - tmpstr="${tstr#Python }" - tstr=${tstr%.*} + tmpstr="${tmpstr#Python }" + tmpstr=${tmpstr%.*} PYVER_MAJOR="${tmpstr%.[0-9]*}" PYVER_MINOR="${tmpstr#[0-9]*.}" |