Pass a temporary file name to the package phase in the environment variable PORTAGE_B...
authorZac Medico <zmedico@gentoo.org>
Wed, 23 May 2007 04:47:36 +0000 (04:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 23 May 2007 04:47:36 +0000 (04:47 -0000)
commit1f8e2fe1729c68bbe7b173378ce7c9d7bb14f582
treeddc8dd6109cb492593a88465a8a4ce826037a64e
parent9ec3cb8abadd77bdb8c645c92852e681e46a3196
Pass a temporary file name to the package phase in the environment variable PORTAGE_BINPKG_TMPFILE and move the temporary file into place inside binarytree.inject().  This allows binarytree.inject() to perform the move while holding a lock.

svn path=/main/trunk/; revision=6591
bin/misc-functions.sh
pym/emerge/__init__.py
pym/portage/dbapi/bintree.py