[packages/php/PHP_5_6] dep-tests: always LC_ALL
glen
glen at pld-linux.org
Wed Dec 21 20:19:19 CET 2016
commit f18d9c9a2dd2d536ff8149c771bf021274cb415d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 27 12:29:14 2015 +0300
dep-tests: always LC_ALL
dep-tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/dep-tests.sh b/dep-tests.sh
index 9abd19b..d5aeabb 100755
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -47,7 +47,7 @@ for ext in ${1:-$ext_dir/*.so}; do
# special: opcache is listed as "Zend Opcache"
[ "$ext" = "opcache" ] && ext="zend opcache"
- grep -rlE '^(zend_)?extension=('$(echo "${deps# }" | tr ' ' '|')').so$' $conf_dir | LC_CTYPE=C LC_ALL= sort | xargs cat > $tmpini
+ grep -rlE '^(zend_)?extension=('$(echo "${deps# }" | tr ' ' '|')').so$' $conf_dir | LC_ALL=C sort | xargs cat > $tmpini
$php -n -d extension_dir=$ext_dir -c $tmpini -r "exit(extension_loaded('${ext}') ? 0 : 1);"
rc=$?
if [ $rc = 0 ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/788e733cf3f12f8e41360f7aabbd1955a5f6e348
More information about the pld-cvs-commit
mailing list