aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/ebuild.bash
diff options
context:
space:
mode:
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