summaryrefslogtreecommitdiff
path: root/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libxml2/libxml2-2.9.10-r4.ebuild')
-rw-r--r--dev-libs/libxml2/libxml2-2.9.10-r4.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild b/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild
index a6678320ffe2..65f752d81b4a 100644
--- a/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild
@@ -205,7 +205,7 @@ multilib_src_install_all() {
pkg_postinst() {
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
- if [[ "${ROOT}" != "/" ]]; then
+ if [[ -n ${ROOT} ]]; then
elog "Skipping XML catalog creation for stage building (bug #208887)."
else
# need an XML catalog, so no-one writes to a non-existent one