From f18d9c9a2dd2d536ff8149c771bf021274cb415d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 27 Aug 2015 12:29:14 +0300 Subject: [PATCH] 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 -- 2.44.0