From 913f5fc0aad3e114127e72c7e78e7a17b3a8b83a Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Fri, 19 Apr 2024 23:34:16 +0700 Subject: [PATCH] Improve Nginx build from source --- scripts/build_nginx.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index f2ae74b..1e47f3c 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -709,6 +709,7 @@ function build_ngx_pagespeed() { fi fi # End of INSTALL_NPS + configure_args=("$add_module" "${extra_flags[@]}") if "$DEVEL"; then @@ -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?"