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-13 20:52:07 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-13 20:52:07 +0100
commitaba5f452dab09cdfc70ae84cdcc95214d6e0edd4 (patch)
treea5cda359677ea5ae5cb5be7a26f176a5001932c8 /paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
parent1c5063b3536080daf1928ad87793e75eb413edf4 (diff)
downloadpaludis-aba5f452dab09cdfc70ae84cdcc95214d6e0edd4.tar.gz
paludis-aba5f452dab09cdfc70ae84cdcc95214d6e0edd4.tar.xz
Don't make unnecessary ( ) blocks for merged vars
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
index 4420624..a7c0595 100644
--- a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
@@ -173,6 +173,7 @@ 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
export -n ${e_v}="${!e_v} ( ${!v} ) [[ ${PALUDIS_BRACKET_MERGED_VARIABLES_ANNOTATION} =