aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/exlib_functions.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/exheres-0/exlib_functions.bash
parentaba5f452dab09cdfc70ae84cdcc95214d6e0edd4 (diff)
downloadpaludis-ccc738a987ae77504825961fb65e98e176049fee.tar.gz
paludis-ccc738a987ae77504825961fb65e98e176049fee.tar.xz
blech
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
index a7c0595..37f5d95 100644
--- a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
@@ -173,9 +173,10 @@ require()
done
for v in ${PALUDIS_BRACKET_MERGED_VARIABLES} ; do
- [[ -z "${!v}" ]] && continue
local e_v="E_${v}"
- if has "${v}" ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATABLE} ; then
+ if [[ -z "${!v}" ]] ; then
+ export -n ${e_v}="${!e_v}"
+ elif has "${v}" ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATABLE} ; then
export -n ${e_v}="${!e_v} ( ${!v} ) [[ ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATION} =
[ ${CURRENT_EXLIB}.exlib ] ]]"
else