]> git.pld-linux.org Git - packages/php.git/commitdiff
dep-tests: always LC_ALL
authorElan Ruusamäe <glen@delfi.ee>
Thu, 27 Aug 2015 09:29:14 +0000 (12:29 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 21 Dec 2016 19:00:26 +0000 (21:00 +0200)
dep-tests.sh

index 9abd19b6cc9149ec56efc99de0a8362fd0684bbe..d5aeabbb91e94ff61be190dfc4c8ab422b65a2b1 100755 (executable)
@@ -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
This page took 1.004028 seconds and 4 git commands to generate.