Skip to content

Commit 969ecaf

Browse files
committed
even more cs fixes
1 parent 37d37cb commit 969ecaf

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

build-static.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if [ -z "${SPC_OPT_DOWNLOAD_ARGS}" ]; then
5454
fi
5555
# if we need debug symbols, disable strip
5656
if [ -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"
5858
fi
5959
# php version to build
6060
if [ -z "${PHP_VERSION}" ]; then
@@ -184,7 +184,7 @@ else
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}"
190190
fi
@@ -209,17 +209,17 @@ fi
209209
mkdir -p watcher
210210
cd watcher
211211
curl -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
218218
cd watcher-c
219219
if [ -z "${CC}" ]; then
220-
watcherCC=cc
220+
watcherCC=cc
221221
else
222-
watcherCC="${CC}"
222+
watcherCC="${CC}"
223223
fi
224224
${watcherCC} -c -o libwatcher-c.o ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -Wall -Wextra "${fpic}"
225225
ar rcs libwatcher-c.a libwatcher-c.o

0 commit comments

Comments
 (0)