[packages/php/dev-7.0] dep-tests: always LC_ALL

glen glen at pld-linux.org
Thu Aug 27 11:46:19 CEST 2015


commit 7f5f768fe4d9688610654e7cf57682fa09ddbf82
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 974732b..30e4ab3 100755
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -47,7 +47,7 @@ for ext in ${*:-$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/eef7f29852eb888780e3c5af82dde88f052e1f44



More information about the pld-cvs-commit mailing list