Skip to content

Commit

Permalink
Improve Nginx build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Apr 19, 2024
1 parent 29f4789 commit 913f5fc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/build_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ function build_ngx_pagespeed() {
fi
fi # End of INSTALL_NPS


configure_args=("$add_module" "${extra_flags[@]}")

if "$DEVEL"; then
Expand Down Expand Up @@ -789,11 +790,11 @@ function build_ngx_pagespeed() {
fi

echo "About to configure nginx with:"
echo " $(quote_arguments "${configure[@]}")"
echo "$(quote_arguments "${configure[@]}")"
continue_or_exit "Does this look right?"
MOD_PAGESPEED_DIR="$MOD_PAGESPEED_DIR" \
PSOL_BINARY="$PSOL_BINARY" \
run "${configure[@]}"
MOD_PAGESPEED_DIR="$MOD_PAGESPEED_DIR"
PSOL_BINARY="$PSOL_BINARY"
run "${configure[@]}"

if ! "$DEVEL"; then
continue_or_exit "Build nginx?"
Expand Down

0 comments on commit 913f5fc

Please sign in to comment.