Skip to content

Commit

Permalink
Improve Nginx install
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Apr 19, 2024
1 parent 6acbca3 commit 29f4789
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/build_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ function build_ngx_pagespeed() {
fail "Your version of getopt is too old. Exiting with no changes made."
fi

opts=$(getopt -o v:n:mb:pslt:ya:dhi \
opts=$(getopt -o v:n:mb:pslt:ya:dhif: \
--longoptions install-ngx-pagespeed,ngx-pagespeed-version:,nginx-version:,dynamic-module \
--longoptions buildir:,no-deps-check,psol-from-source,devel,build-type: \
--longoptions buildir:,no-deps-check,psol-from-source,devel,build-type:,psol-binary-file: \
--longoptions assume-yes,additional-nginx-configure-arguments:,dryrun,help \
-n "$(basename "$0")" -- "$@")
if [ $? != 0 ]; then
Expand Down Expand Up @@ -576,6 +576,7 @@ function build_ngx_pagespeed() {
fi
}


## Build NPS
if [[ "${INSTALL_NPS}" == true ]]; then
# In general, the zip github builds for tag foo unzips to ngx_pagespeed-foo,
Expand Down

0 comments on commit 29f4789

Please sign in to comment.