Fix missing quotes on has_verison call.
authorRobin H. Johnson <robbat2@gentoo.org>
Mon, 19 Dec 2011 01:29:57 +0000 (01:29 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Mon, 19 Dec 2011 01:29:57 +0000 (01:29 +0000)
eclass/python.eclass

index 0c0707aaac9ec29a20078293b851bc66dde6e45b..7cd241f099643b09bef3ef650122373e40ec2334 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.142 2011/12/18 23:38:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.143 2011/12/19 01:29:57 robbat2 Exp $
 
 # @ECLASS: python.eclass
 # @MAINTAINER:
@@ -1596,7 +1596,7 @@ for file in sorted(files_set):
                # the 3-way structure per comment #6. This enable users with old
                # coreutils to upgrade a lot easier (you need to upgrade python+portage
                # before coreutils can be upgraded).
-               if ROOT="/" has_version >=sys-apps/coreutils-6.9.90; then
+               if ROOT="/" has_version '>=sys-apps/coreutils-6.9.90'; then
                        cp -fr --preserve=all --no-preserve=context "${intermediate_installation_images_directory}/${PYTHON_ABI}/"* "${D}" || die "Merging of intermediate installation image for Python ABI '${PYTHON_ABI} into installation image failed"
                elif ROOT="/" has_version sys-apps/coreutils; then
                        cp -fr --preserve=all "${intermediate_installation_images_directory}/${PYTHON_ABI}/"* "${D}" || die "Merging of intermediate installation image for Python ABI '${PYTHON_ABI} into installation image failed"