summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/XML-LibXML')
-rw-r--r--dev-perl/XML-LibXML/XML-LibXML-2.20.700-r1.ebuild (renamed from dev-perl/XML-LibXML/XML-LibXML-2.20.700.ebuild)4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-perl/XML-LibXML/XML-LibXML-2.20.700.ebuild b/dev-perl/XML-LibXML/XML-LibXML-2.20.700-r1.ebuild
index ebe51ebbecf4..ef2735eef3b7 100644
--- a/dev-perl/XML-LibXML/XML-LibXML-2.20.700.ebuild
+++ b/dev-perl/XML-LibXML/XML-LibXML-2.20.700-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -65,7 +65,7 @@ pkg_update_parser() {
local action=$1
local parser_module=$2
- if [[ "$ROOT" = "/" ]] ; then
+ if [[ -z "${ROOT}" ]] ; then
einfo "Update Parser: $1 $2"
perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
|| ewarn "Update Parser: $1 $2 failed"