From 574506c8ecbdcb4167c4f573c443a0c017bfc771 Mon Sep 17 00:00:00 2001 From: msclock Date: Sat, 20 Apr 2024 15:36:48 +0800 Subject: [PATCH] fix: gcl with curl Signed-off-by: msclock --- src/gitlab-ci-local/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitlab-ci-local/install.sh b/src/gitlab-ci-local/install.sh index ebbd8b3..69dda66 100644 --- a/src/gitlab-ci-local/install.sh +++ b/src/gitlab-ci-local/install.sh @@ -172,7 +172,7 @@ fi _log "info" GCL_VERSION "$GCL_VERSION" cd /tmp -curl -sSL -o linux.gz "https://github.com/firecow/gitlab-ci-local/releases/download/${GCL_VERSION}/linux.gz" +curl -LJO "https://github.com/firecow/gitlab-ci-local/releases/download/${GCL_VERSION}/linux.gz" gzip -dc linux.gz >/usr/local/bin/gitlab-ci-local && rm linux.gz chmod 0755 /usr/local/bin/gitlab-ci-local