Hi,

subject says it, attachment fixes it.

/haubi/
-- 
Michael Haubenwallner                    SALOMON Automation GmbH
Forschung & Entwicklung                  A-8114 Friesach bei Graz
mailto:[EMAIL PROTECTED]  http://www.salomon.at
No HTML/MIME please, see http://expita.com/nomime.html
Index: dev-lang/python/python-2.4.2.ebuild
===================================================================
--- dev-lang/python/python-2.4.2.ebuild	(revision 2334)
+++ dev-lang/python/python-2.4.2.ebuild	(working copy)
@@ -251,7 +251,7 @@
 
 pkg_postinst() {
 	local myroot
-	myroot=${PROOT%/}
+	myroot=${EROOT%/}
 
 	python_makesym
 	python_mod_optimize
Index: eclass/alternatives.eclass
===================================================================
--- eclass/alternatives.eclass	(revision 2352)
+++ eclass/alternatives.eclass	(working copy)
@@ -59,8 +59,8 @@
 
 	# sort a space delimited string by converting it to a multiline list
 	# and then run sort -r over it.
-	# make sure we use ${ROOT} because otherwise stage-building will break
-	ALT="$(for i in $(echo ${PROOT}${myregex}); do echo ${i#${PROOT}}; done | sort -r)"
+	# make sure we use ${EROOT} because otherwise stage-building will break
+	ALT="$(for i in $(echo ${EROOT}${myregex}); do echo ${i#${EROOT}}; done | sort -r)"
 	alternatives_makesym ${SYMLINK} ${ALT}
 }
 

Reply via email to