Skip to content

Commit 9bb7b26

Browse files
Copilotss-o
andauthored
fix: make zunit clone step idempotent and keep clone errors visible
Agent-Logs-Url: https://github.com/z-shell/zd/sessions/27d9b13d-f68d-404c-9949-9991426c1034 Co-authored-by: ss-o <59910950+ss-o@users.noreply.github.com>
1 parent adbacae commit 9bb7b26

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ bin/zunit:
6464
> bin/revolver
6565
@curl -fsSL 'https://raw.githubusercontent.com/zdharma/color/d8f91ab5fcfceb623ae45d3333ad0e543775549c/color.zsh' \
6666
> bin/color
67-
@git clone --depth 1 https://github.com/zdharma/zunit.git /tmp/zunit.git 2>/dev/null
67+
@rm -rf /tmp/zunit.git
68+
@git clone --depth 1 https://github.com/zdharma/zunit.git /tmp/zunit.git
6869
@cd /tmp/zunit.git && ./build.zsh
6970
@mv /tmp/zunit.git/zunit bin/zunit
7071
@chmod u+x bin/color bin/revolver bin/zunit

0 commit comments

Comments
 (0)