fix bash syntax

This commit is contained in:
c9s 2021-05-07 14:42:45 +08:00
parent 77f487c5f3
commit 831779b7ae

View File

@ -98,7 +98,7 @@ dist-darwin: bbgo-darwin bbgo-slim-darwin
dist: static bbgo-linux bbgo-slim-linux bbgo-darwin bbgo-slim-darwin desktop dist: static bbgo-linux bbgo-slim-linux bbgo-darwin bbgo-slim-darwin desktop
mkdir -p $(DIST_DIR)/$(GIT_DESC) mkdir -p $(DIST_DIR)/$(GIT_DESC)
for arch in (amd64 arm64) ; do \ for arch in amd64 arm64 ; do \
for platform in linux darwin ; do \ for platform in linux darwin ; do \
echo $$platform ; \ echo $$platform ; \
tar -C $(BIN_DIR) -cvzf $(DIST_DIR)/$(GIT_DESC)/bbgo-$(GIT_DESC)-$$platform-$$arch.tar.gz bbgo-$$platform ; \ tar -C $(BIN_DIR) -cvzf $(DIST_DIR)/$(GIT_DESC)/bbgo-$(GIT_DESC)-$$platform-$$arch.tar.gz bbgo-$$platform ; \