perl-XML-SAX: avoid env(1) in INSTALL/REMOVE.

This commit is contained in:
Juan RP 2011-07-01 21:44:35 +02:00
parent f33efd6ea5
commit 85fcfb5973
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ case "${ACTION}" in
pre)
;;
post)
env LC_ALL=C perl -MXML::SAX -e \
LC_ALL=C perl -MXML::SAX -e \
"XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \
2>&1 >/dev/null
[ $? -eq 0 ] && echo "Added parser to XML::SAX registry."

View file

@ -3,7 +3,7 @@
#
case "${ACTION}" in
pre)
env LC_ALL=C perl -MXML::SAX -e \
LC_ALL=C perl -MXML::SAX -e \
"XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()" \
2>&1 >/dev/null
[ $? -eq 0 ] && echo "Removed parser from XML::SAX registry."

View file

@ -1,7 +1,7 @@
# Template build file for 'perl-XML-SAX'.
pkgname=perl-XML-SAX
version=0.96
revision=2
revision=3
wrksrc="XML-SAX-$version"
distfiles="${CPAN_SITE}/XML/XML-SAX-$version.tar.gz"
build_style=perl_module