From 9be80cba1f9f72a2d4024a44f574102cbd11ae36 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sat, 21 Sep 2024 11:47:21 +0700 Subject: [PATCH] nginx_build_script: fix: sudo on ln --- nginx_build_script/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx_build_script/build.sh b/nginx_build_script/build.sh index 07f7976..b5acf6e 100644 --- a/nginx_build_script/build.sh +++ b/nginx_build_script/build.sh @@ -135,7 +135,7 @@ case $SSL_LIB in wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin - ln -s /usr/local/go/bin /usr/bin/go + sudo ln -s /usr/local/go/bin /usr/bin/go git clone --depth=1 https://github.com/google/boringssl $HOMEDIRECTORY/boringssl cd $HOMEDIRECTORY/boringssl