Skip to content

Commit 03f53e3

Browse files
Update Makefile
1 parent 2f7d3e1 commit 03f53e3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,12 @@ setup-custom-cert-for-test-central-repo: ## Setup up the custom ca cert for test
279279
@echo "WGET inside setup-custom-cert-for-test-central-repo: $(WGET)"
280280
@echo "BZIP2 inside setup-custom-cert-for-test-central-repo: $(BZIP2)"
281281
@if [ ! -d $(ROOT_DIR)/hack/central-repo/certs ]; then \
282-
$(WGET) https://storage.googleapis.com/tanzu-cli/data/testcerts/local-central-repo-testcontent.bz2 -O $(ROOT_DIR)/hack/central-repo/local-central-repo-testcontent.bz2;\
282+
$(WGET) https://storage.googleapis.com/tanzu-cli/data/testcerts/local-central-repo-testcontent.bz2 -O $(ROOT_DIR)/hack/central-repo/local-central-repo-testcontent.bz2;\
283+
echo "Tar command:"; \
284+
echo "$(TAR) xjf $${TAR_BZ2_FILE} -C $(ROOT_DIR)/hack/central-repo/"; \
285+
283286
TAR_BZ2_FILE:=$(shell cygpath -w $(ROOT_DIR)/hack/central-repo/local-central-repo-testcontent.bz2)
284-
$(TAR) xjf ${TAR_BZ2_FILE} -C $(ROOT_DIR)/hack/central-repo/;\
287+
$(TAR) xjf "$$TAR_BZ2_FILE" -C "$(ROOT_DIR)/hack/central-repo/"; \
285288
fi
286289
echo "Adding docker test central repo cert to the config file"
287290
TANZU_CLI_CEIP_OPT_IN_PROMPT_ANSWER="No" TANZU_CLI_EULA_PROMPT_ANSWER="Yes" $(ROOT_DIR)/bin/tanzu config cert delete localhost:9876 || true

0 commit comments

Comments
 (0)