projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd9dc9
)
Make sure that the package phase has the PYTHONPATH set correctly so that the xpak...
author
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Sep 2006 06:08:01 +0000
(06:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Sep 2006 06:08:01 +0000
(06:08 -0000)
svn path=/main/trunk/; revision=4421
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index d68eee4e4cda9f1323b20f55285b1137704f296d..db9efbb19eda48e1678171a77fa3dee34dbb94ff 100755
(executable)
--- a/
bin/misc-functions.sh
+++ b/
bin/misc-functions.sh
@@
-358,6
+358,7
@@
dyn_package() {
export SANDBOX_ON="0"
tar cpvf - ./ | bzip2 -f > "${pkg_tmp}" || die "Failed to create tarball"
cd ..
+ export PYTHONPATH=${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}
python -c "import xpak; t=xpak.tbz2('${pkg_tmp}'); t.recompose('${PORTAGE_BUILDDIR}/build-info')"
if [ $? -ne 0 ]; then
rm -f "${pkg_tmp}"