fix: remove cd before call to spc dump-extensions (#2328)

This commit is contained in:
jaap
2026-04-09 10:49:49 +02:00
committed by GitHub
parent 6f559e14d5
commit 56fabe8de3
-1
View File
@@ -158,7 +158,6 @@ fi
if [ -z "${PHP_EXTENSIONS}" ]; then
# enable EMBED mode, first check if project has dumped extensions
if [ -n "${EMBED}" ] && [ -f "${EMBED}/composer.json" ] && [ -f "${EMBED}/composer.lock" ] && [ -f "${EMBED}/vendor/composer/installed.json" ]; then
cd "${EMBED}"
# read the extensions using spc dump-extensions
PHP_EXTENSIONS=$(${spcCommand} dump-extensions "${EMBED}" --format=text --no-dev --no-ext-output="${defaultExtensions}")
else