Skip to content

Commit

Permalink
Merge pull request #440 from Scalingo/fix/sqlsrv_extension
Browse files Browse the repository at this point in the history
fix(composer): match exactly the extension name
  • Loading branch information
EtienneM authored Jun 18, 2024
2 parents c0b0467 + c7a0668 commit dd6ef6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/composer
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function is_embedded_extension() {
[ ${rc} -ne 0 ] && \
error "error while trying to identify if ${extension_name} is embedded in runtime: ${php_modules} (${rc})."

if echo "${php_modules}" | grep --quiet --ignore-case "${extension_name}" ; then
if echo "${php_modules}" | grep --quiet --extended-regexp --ignore-case "^${extension_name}$" ; then
echo "true"
else
echo "false"
Expand Down

0 comments on commit dd6ef6d

Please sign in to comment.