aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2010-10-21 09:51:03 +0000
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2010-11-12 19:55:02 +0000
commit8028ac94fa53ad82757c017a3f94d218f33f9057 (patch)
tree1435da57a129dfc59074aa3a46afd5cba3965ed2 /paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
parent7123cc1484e653234ffcd95a0b9ef918bb800223 (diff)
downloadpaludis-8028ac94fa53ad82757c017a3f94d218f33f9057.tar.gz
paludis-8028ac94fa53ad82757c017a3f94d218f33f9057.tar.xz
Fix dot and plus exlibs tests.
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
index ef05b9d..2511913 100644
--- a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
@@ -130,7 +130,9 @@ myexparam()
fi
fi
- ${bool} && ! has "${!v}" true false && die "exparam ${1%%=*} for exlib ${CURRENT_EXLIB} must be 'true' or 'false'"
+ if ${bool} && ! has "${!v}" true false; then
+ die "exparam ${1%%=*} for ${CURRENT_EXLIB}.exlib must be 'true' or 'false'"
+ fi
}
require()