From 4cb3e089e35c999e8920aa7484e92032fb7450db Mon Sep 17 00:00:00 2001 From: bunkerity Date: Fri, 20 Aug 2021 17:06:58 +0200 Subject: [PATCH] linux - git SHA1 commit in install.sh --- helpers/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/install.sh b/helpers/install.sh index 1ef37d4..cdf99f3 100755 --- a/helpers/install.sh +++ b/helpers/install.sh @@ -671,10 +671,10 @@ fi # Clone the repo if [ "$OS" != "alpine" ] && [ ! -d "/tmp/bunkerized-nginx-test" ] ; then echo "[*] Clone bunkerity/bunkerized-nginx" - #CHANGE_DIR="/tmp" do_and_check_cmd git_secure_clone https://github.com/bunkerity/bunkerized-nginx.git 09a2a4f9e531b93684b0916a5146091a818501d3 - # TODO : do a secure clone - CHANGE_DIR="/tmp" do_and_check_cmd git clone https://github.com/bunkerity/bunkerized-nginx.git - CHANGE_DIR="/tmp/bunkerized-nginx" do_and_check_cmd git checkout dev + CHANGE_DIR="/tmp" do_and_check_cmd git_secure_clone https://github.com/bunkerity/bunkerized-nginx.git 8808f161c5f92911ae485623d96f6ef24fe42ffe + # TODO : dev only + #CHANGE_DIR="/tmp" do_and_check_cmd git clone https://github.com/bunkerity/bunkerized-nginx.git + #CHANGE_DIR="/tmp/bunkerized-nginx" do_and_check_cmd git checkout dev # Docker build case : simply rename the sources elif [ "$OS" == "alpine" ] ; then do_and_check_cmd mv /tmp/bunkerized-nginx-docker /tmp/bunkerized-nginx