Skip to content

Commit c1643ab

Browse files
committed
CI: put persistent upstrand intercept ctx macro before ./configure
rather than alter config file by sed
1 parent 1e17fb5 commit c1643ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ jobs:
5555
`"archive/refs/tags/$NGXEASYCTXVER.tar.gz" \
5656
-O "nginx-easy-context-$NGXEASYCTXVER.tar.gz" &&
5757
tar xzvf "nginx-easy-context-$NGXEASYCTXVER.tar.gz"
58-
sed -i 's/# \('`
59-
`'NGX_HTTP_COMBINED_UPSTREAMS_PERSISTENT_UPSTRAND_INTERCEPT_CTX'`
60-
`'=1\)/\1/' config
6158
cd nginx-${NGXVER}/
59+
NGX_HTTP_COMBINED_UPSTREAMS_PERSISTENT_UPSTRAND_INTERCEPT_CTX=1 \
6260
$NGX_CONFIGURE --add-module=../nginx-easy-context-$NGXEASYCTXVER \
6361
--add-module=.. --add-module=../echo-nginx-module
6462
make -j2

0 commit comments

Comments
 (0)