use detected python
authorFabian Groffen <grobian@gentoo.org>
Wed, 15 Dec 2010 19:32:42 +0000 (20:32 +0100)
committerFabian Groffen <grobian@gentoo.org>
Wed, 15 Dec 2010 19:32:42 +0000 (20:32 +0100)
configure.in

index 81d1ce1c6bf0008123a7868bccc711bf524ba267..c839b96e503879d3ab7597b207f23bfa5d6bc73f 100644 (file)
@@ -197,7 +197,7 @@ AC_HELP_STRING([--with-offset-prefix],
 
 if test "x$PORTAGE_EPREFIX" != "x"
 then
-       PORTAGE_EPREFIX=`${PORTAGE_PYTHON} -c "import os; print os.path.normpath('$PORTAGE_EPREFIX')"`
+       PORTAGE_EPREFIX=`${PREFIX_PORTAGE_PYTHON} -c "import os; print os.path.normpath('$PORTAGE_EPREFIX')"`
        DEFAULT_PATH="${PORTAGE_EPREFIX}/usr/sbin:${PORTAGE_EPREFIX}/usr/bin:${PORTAGE_EPREFIX}/sbin:${PORTAGE_EPREFIX}/bin"
 else
        # this is what trunk uses in ebuild.sh