aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/ebuild.bash
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-14 08:12:47 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-14 03:31:25 +0100
commitccc738a987ae77504825961fb65e98e176049fee (patch)
tree01348abd9fb6b9a1ee99d5b78171df80e200a4e8 /paludis/repositories/e/ebuild/ebuild.bash
parentaba5f452dab09cdfc70ae84cdcc95214d6e0edd4 (diff)
downloadpaludis-ccc738a987ae77504825961fb65e98e176049fee.tar.gz
paludis-ccc738a987ae77504825961fb65e98e176049fee.tar.xz
blech
Diffstat (limited to 'paludis/repositories/e/ebuild/ebuild.bash')
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 351a951c6..bc8d5226e 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -337,9 +337,10 @@ ebuild_load_ebuild()
done
for paludis_v in ${PALUDIS_BRACKET_MERGED_VARIABLES} ; do
- [[ -z "${!paludis_v}" ]] && continue
paludis_e_v=E_${paludis_v}
- if has "${paludis_v}" ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATABLE} ; then
+ if [[ -z "${!paludis_v}" ]] ; then
+ eval ${paludis_v}='"${!paludis_e_v}"'
+ elif has "${paludis_v}" ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATABLE} ; then
eval ${paludis_v}='"( ${!paludis_v} ) [[ '\
${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATION}' = [ '${1##*/}' ] ]] ${!paludis_e_v}"'
else