@@ -19,7 +19,7 @@ source /usr/local/bin/enginescript/scripts/functions/shared/enginescript-common.
1919# Start Main Script
2020
2121# Compile Nginx
22- cd /usr/src/nginx-${NGINX_VER}
22+ cd " /usr/src/nginx-${NGINX_VER} "
2323
2424# Detect best linker: prefer lld, fallback to gold, else use default
2525# Further testing needed: https://lld.llvm.org/
@@ -120,26 +120,26 @@ if [[ "${INSTALL_HTTP3}" == "1" ]];
120120 --modules-path=/etc/nginx/modules \
121121 --pid-path=/run/nginx.pid \
122122 --sbin-path=/usr/sbin/nginx \
123- --build=nginx-${NGINX_VER} -${DT} -enginescript \
124- --builddir=nginx-${NGINX_VER} \
123+ --build=" nginx-${NGINX_VER} -${DT} -enginescript" \
124+ --builddir=" nginx-${NGINX_VER} " \
125125 --with-cc-opt=" $CC_OPT_FLAGS " \
126126 --with-ld-opt=" $LD_OPT_FLAGS " \
127127 --with-openssl-opt=" $OPENSSL_OPT_FLAGS " \
128- --with-openssl=/usr/src/openssl-${OPENSSL_VER} \
128+ --with-openssl=" /usr/src/openssl-${OPENSSL_VER} " \
129129 --with-libatomic \
130130 --with-file-aio \
131131 --with-threads \
132- --with-pcre=/usr/src/pcre2-${PCRE2_VER} \
132+ --with-pcre=" /usr/src/pcre2-${PCRE2_VER} " \
133133 --with-pcre-jit \
134134 --with-zlib=/usr/src/zlib-cf \
135135 --with-zlib-opt=-fPIC \
136136 --with-http_ssl_module \
137137 --with-http_v2_module \
138138 --with-http_v3_module \
139139 --with-http_realip_module \
140- --add-module=/usr/src/headers-more-nginx-module-${NGINX_HEADER_VER} \
140+ --add-module=" /usr/src/headers-more-nginx-module-${NGINX_HEADER_VER} " \
141141 --add-module=/usr/src/ngx_brotli \
142- --add-module=/usr/src/ngx_cache_purge-${NGINX_PURGE_VER} \
142+ --add-module=" /usr/src/ngx_cache_purge-${NGINX_PURGE_VER} " \
143143 --without-http_browser_module \
144144 --without-http_empty_gif_module \
145145 --without-http_memcached_module \
@@ -167,25 +167,25 @@ if [[ "${INSTALL_HTTP3}" == "1" ]];
167167 --modules-path=/etc/nginx/modules \
168168 --pid-path=/run/nginx.pid \
169169 --sbin-path=/usr/sbin/nginx \
170- --build=nginx-${NGINX_VER} -${DT} -enginescript \
171- --builddir=nginx-${NGINX_VER} \
172- --with-cc-opt=" $CC_OPT_FLAGS " \
173- --with-ld-opt=" $LD_OPT_FLAGS " \
174- --with-openssl-opt=" $OPENSSL_OPT_FLAGS " \
175- --with-openssl=/usr/src/openssl-${OPENSSL_VER} \
170+ --build=\" nginx-${NGINX_VER} -${DT} -enginescript\" \
171+ --builddir=\" nginx-${NGINX_VER} \" \
172+ --with-cc-opt=\ "$CC_OPT_FLAGS \ " \
173+ --with-ld-opt=\ "$LD_OPT_FLAGS \ " \
174+ --with-openssl-opt=\ "$OPENSSL_OPT_FLAGS \ " \
175+ --with-openssl=\" /usr/src/openssl-${OPENSSL_VER} \" \
176176 --with-libatomic \
177177 --with-file-aio \
178178 --with-threads \
179- --with-pcre=/usr/src/pcre2-${PCRE2_VER} \
179+ --with-pcre=\" /usr/src/pcre2-${PCRE2_VER} \" \
180180 --with-pcre-jit \
181181 --with-zlib=/usr/src/zlib-cf \
182182 --with-zlib-opt=-fPIC \
183183 --with-http_ssl_module \
184184 --with-http_v2_module \
185185 --with-http_realip_module \
186- --add-module=/usr/src/headers-more-nginx-module-${NGINX_HEADER_VER} \
186+ --add-module=\" /usr/src/headers-more-nginx-module-${NGINX_HEADER_VER} \" \
187187 --add-module=/usr/src/ngx_brotli \
188- --add-module=/usr/src/ngx_cache_purge-${NGINX_PURGE_VER} \
188+ --add-module=\" /usr/src/ngx_cache_purge-${NGINX_PURGE_VER} \" \
189189 --without-http_browser_module \
190190 --without-http_empty_gif_module \
191191 --without-http_memcached_module \
0 commit comments