File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [ -z "${SPC_OPT_DOWNLOAD_ARGS}" ]; then
5454fi
5555# if we need debug symbols, disable strip
5656if [ -n " ${DEBUG_SYMBOLS} " ]; then
57- SPC_OPT_BUILD_ARGS=" ${SPC_OPT_BUILD_ARGS} --no-strip"
57+ SPC_OPT_BUILD_ARGS=" ${SPC_OPT_BUILD_ARGS} --no-strip"
5858fi
5959# php version to build
6060if [ -z " ${PHP_VERSION} " ]; then
184184
185185 ${spcCommand} doctor --auto-fix
186186 # shellcheck disable=SC2086
187- ${spcCommand} download --with-php=" ${PHP_VERSION} " --for-extensions=" ${PHP_EXTENSIONS} " --for-libs=" ${PHP_EXTENSION_LIBS} " ${SPC_OPT_DOWNLOAD_ARGS}
187+ ${spcCommand} download --with-php=" ${PHP_VERSION} " --for-extensions=" ${PHP_EXTENSIONS} " --for-libs=" ${PHP_EXTENSION_LIBS} " ${SPC_OPT_DOWNLOAD_ARGS}
188188 # shellcheck disable=SC2086
189189 ${spcCommand} build --enable-zts --build-embed ${SPC_OPT_BUILD_ARGS} " ${PHP_EXTENSIONS} " --with-libs=" ${PHP_EXTENSION_LIBS} "
190190fi
209209mkdir -p watcher
210210cd watcher
211211curl -f --retry 5 " ${curlGitHubHeaders[@]} " https://api.github.com/repos/e-dant/watcher/releases/latest |
212- grep tarball_url |
213- awk ' { print $2 }' |
214- sed ' s/,$//' |
215- sed ' s/"//g' |
216- xargs curl -fL --retry 5 " ${curlGitHubHeaders[@]} " |
217- tar xz --strip-components 1
212+ grep tarball_url |
213+ awk ' { print $2 }' |
214+ sed ' s/,$//' |
215+ sed ' s/"//g' |
216+ xargs curl -fL --retry 5 " ${curlGitHubHeaders[@]} " |
217+ tar xz --strip-components 1
218218cd watcher-c
219219if [ -z " ${CC} " ]; then
220- watcherCC=cc
220+ watcherCC=cc
221221else
222- watcherCC=" ${CC} "
222+ watcherCC=" ${CC} "
223223fi
224224${watcherCC} -c -o libwatcher-c.o ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -Wall -Wextra " ${fpic} "
225225ar rcs libwatcher-c.a libwatcher-c.o
You can’t perform that action at this time.
0 commit comments