Skip to content

Commit 56fabe8

Browse files
authored
fix: remove cd before call to spc dump-extensions (#2328)
1 parent 6f559e1 commit 56fabe8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build-static.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ fi
158158
if [ -z "${PHP_EXTENSIONS}" ]; then
159159
# enable EMBED mode, first check if project has dumped extensions
160160
if [ -n "${EMBED}" ] && [ -f "${EMBED}/composer.json" ] && [ -f "${EMBED}/composer.lock" ] && [ -f "${EMBED}/vendor/composer/installed.json" ]; then
161-
cd "${EMBED}"
162161
# read the extensions using spc dump-extensions
163162
PHP_EXTENSIONS=$(${spcCommand} dump-extensions "${EMBED}" --format=text --no-dev --no-ext-output="${defaultExtensions}")
164163
else

0 commit comments

Comments
 (0)