From 184378b9ca4ef48f3f7c623a89afc9badf402188 Mon Sep 17 00:00:00 2001 From: Jellyfrog Date: Fri, 16 Jan 2026 17:28:06 +0100 Subject: [PATCH] fix: correct path to composer installed.json Signed-off-by: Jellyfrog --- build-static.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-static.sh b/build-static.sh index c22d53f01..3485e8c5f 100755 --- a/build-static.sh +++ b/build-static.sh @@ -150,7 +150,7 @@ fi # Extensions to build 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/installed.json" ]; then + 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}")