try to fix tar error

This commit is contained in:
minoplhy 2024-10-10 23:18:15 +07:00
parent d736660638
commit 5213e0e894
2 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,8 @@ jobs:
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]} curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]}
# Prepare tar file paths # Prepare tar file paths
TAR_PATH="~/nginx_scriptbox/nginx/objs" # Base Path HOMEDIRECTORY=~/nginx_scriptbox
TAR_PATH="$HOMEDIRECTORY/nginx/objs" # Base Path
case "${TAGS[$i]}" in case "${TAGS[$i]}" in
"allstar") "allstar")
TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity" TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity"

View File

@ -36,7 +36,8 @@ jobs:
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]} curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]}
# Prepare tar file paths # Prepare tar file paths
TAR_PATH="~/nginx_scriptbox/nginx/objs" # Base Path HOMEDIRECTORY=~/nginx_scriptbox
TAR_PATH="$HOMEDIRECTORY/nginx/objs" # Base Path
case "${TAGS[$i]}" in case "${TAGS[$i]}" in
"allstar") "allstar")
TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity" TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity"