[packages/php/PHP_5_3] ensure correct LC_COLLATE in dep-tests.sh

atler atler at pld-linux.org
Thu Jan 30 14:31:06 CET 2025


commit 13fba7548814157f420352344b672d73f83e966f
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 30 00:37:51 2025 +0100

    ensure correct LC_COLLATE in dep-tests.sh

 dep-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/dep-tests.sh b/dep-tests.sh
index 0a19c23..fb13913 100644
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -43,7 +43,7 @@ for ext in $ext_dir/*.so; do
 
 	echo -n "$ext (deps: ${deps# })..."
 
-	grep -rlE '^extension=('$(echo "${deps# }" | tr ' ' '|')').so$' $conf_dir | LC_CTYPE=C LC_ALL= sort | xargs cat > $tmpini
+	grep -rlE '^extension=('$(echo "${deps# }" | tr ' ' '|')').so$' $conf_dir | LC_CTYPE=C LC_COLLATE=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/fa45464d430906614c2c00fb7f0736ecec41f51f



More information about the pld-cvs-commit mailing list