Skip to content

Commit 14737eb

Browse files
committed
Use has_extension
1 parent 5f2fa66 commit 14737eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install-extensions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ install_tideways_xhprof() {
4949
config="$HOME/.phpenv/versions/$PHP_VERSION/etc/conf.d/tideways_xhprof.ini"
5050
test -f "$library" || die "Extension not available: $library"
5151
echo "extension=$library" > "$config"
52-
php -m | grep -F "$extension"
52+
has_extension "$extension"
5353
}
5454

5555
case "$(uname -s):$PHP_VERSION" in

0 commit comments

Comments
 (0)