aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-11 09:27:47 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-11 09:27:47 +0000
commitadc0e653344878d3aae86c9dbd335a759f03c1ad (patch)
tree3dc3369d30ea306b880e37b58314c5c6161e9082
parenta1c84d4c3e41b36d56b7d75af6c7b963460bbeb8 (diff)
downloadpaludis-adc0e653344878d3aae86c9dbd335a759f03c1ad.tar.gz
paludis-adc0e653344878d3aae86c9dbd335a759f03c1ad.tar.xz
Don't barf on badly updated packages. Fixes: report:4
-rwxr-xr-xebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 539f6c7..634c757 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -212,6 +212,7 @@ ebuild_load_ebuild()
-e '/^\(declare \(-[^ ]\+ \)\?\)\?..\?ID=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?LD_/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?CATEGORY=/d' \
+ -e '/^\(declare \(-[^ ]\+ \)\?\)\?\(PN\|PV\|P\|PVR\|PF\)=/d' \
"${PALUDIS_TMPDIR}/environment-${CATEGORY}-${PF}"
export PALUDIS_EXTRA_DIE_MESSAGE="${real_PALUDIS_EXTRA_DIE_MESSAGE}"