Skip to content

Commit d9ba18f

Browse files
authored
fix: correct path to composer installed.json (#2127)
Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
1 parent 1bfa3db commit d9ba18f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-static.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ fi
150150
# Extensions to build
151151
if [ -z "${PHP_EXTENSIONS}" ]; then
152152
# enable EMBED mode, first check if project has dumped extensions
153-
if [ -n "${EMBED}" ] && [ -f "${EMBED}/composer.json" ] && [ -f "${EMBED}/composer.lock" ] && [ -f "${EMBED}/vendor/installed.json" ]; then
153+
if [ -n "${EMBED}" ] && [ -f "${EMBED}/composer.json" ] && [ -f "${EMBED}/composer.lock" ] && [ -f "${EMBED}/vendor/composer/installed.json" ]; then
154154
cd "${EMBED}"
155155
# read the extensions using spc dump-extensions
156156
PHP_EXTENSIONS=$(${spcCommand} dump-extensions "${EMBED}" --format=text --no-dev --no-ext-output="${defaultExtensions}")

0 commit comments

Comments
 (0)