aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-25 17:29:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-25 17:29:32 +0000
commitf4a1c31e30025b4f4a3002b0a6f000a7007f8f24 (patch)
treecc4cfe26b3a50c7bb6560691c0a3f2afc5a0fad3
parentbbfee22b6a4c8ab450715de1d2bf9c1596e58e33 (diff)
downloadpaludis-f4a1c31e30025b4f4a3002b0a6f000a7007f8f24.tar.gz
paludis-f4a1c31e30025b4f4a3002b0a6f000a7007f8f24.tar.xz
Strip IUSE +/- from VDB entries, because built_with_use is stupid
-rwxr-xr-xpaludis/repositories/e/ebuild/write_vdb_entry.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/write_vdb_entry.bash b/paludis/repositories/e/ebuild/write_vdb_entry.bash
index c39f674..650b9f7 100755
--- a/paludis/repositories/e/ebuild/write_vdb_entry.bash
+++ b/paludis/repositories/e/ebuild/write_vdb_entry.bash
@@ -81,6 +81,12 @@ main()
REPOSITORY"
fi
+ local new_IUSE i
+ for i in ${IUSE} ; do
+ new_IUSE="${new_IUSE} ${i#[+-]}"
+ done
+ IUSE="${new_IUSE}"
+
local v VDB_FORMAT="paludis-2" COUNTER="$(date +%s )"
for v in ${PALUDIS_VDB_FROM_ENV_VARIABLES} ; do
if ! echo "${!v}" > "${vdbdir}"/${v} ; then