mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
fix: Replace dangerous use of xargs (#10331)
Signed-off-by: Andreas Sommer <andreas.sommer87@googlemail.com> Signed-off-by: Andreas Sommer <andreas.sommer87@googlemail.com>
This commit is contained in:
parent
6756a5f816
commit
6b0973d32b
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -25,7 +25,7 @@ DOCKER_WORKDIR?=/go/src/github.com/argoproj/argo-cd
|
|||
|
||||
ARGOCD_PROCFILE?=Procfile
|
||||
|
||||
# Strict mode has been disabled in latest versions of mkdocs-material.
|
||||
# Strict mode has been disabled in latest versions of mkdocs-material.
|
||||
# Thus pointing to the older image of mkdocs-material matching the version used by argo-cd.
|
||||
MKDOCS_DOCKER_IMAGE?=squidfunk/mkdocs-material:4.1.1
|
||||
MKDOCS_RUN_ARGS?=
|
||||
|
|
@ -117,7 +117,7 @@ define run-in-test-client
|
|||
bash -c "$(1)"
|
||||
endef
|
||||
|
||||
#
|
||||
#
|
||||
define exec-in-test-server
|
||||
docker exec -it -u $(shell id -u):$(shell id -g) -e ARGOCD_E2E_RECORD=$(ARGOCD_E2E_RECORD) -e ARGOCD_E2E_K3S=$(ARGOCD_E2E_K3S) argocd-test-server $(1)
|
||||
endef
|
||||
|
|
@ -455,7 +455,7 @@ start-e2e-local: mod-vendor-local dep-ui-local cli-local
|
|||
# Cleans VSCode debug.test files from sub-dirs to prevent them from being included in by golang embed
|
||||
.PHONY: clean-debug
|
||||
clean-debug:
|
||||
-find ${CURRENT_DIR} -name debug.test | xargs rm -f
|
||||
-find ${CURRENT_DIR} -name debug.test -exec rm -f {} +
|
||||
|
||||
.PHONY: clean
|
||||
clean: clean-debug
|
||||
|
|
|
|||
Loading…
Reference in a new issue