mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
more robust check for bz2 extension
This commit is contained in:
parent
632790e39e
commit
742179bc6f
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
if ! ( php -m | grep -q bz2 ) ; then
|
||||
if ! php -r 'extension_loaded("bz2") or exit(1);' ; then
|
||||
echo "You need to install (or enable) bz2 php extension"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user