Skip to content

Commit

Permalink
Makefile: fix update-beats-module (#3785)
Browse files Browse the repository at this point in the history
Run `go list ...` in the shell, rather than
in Make, to avoid premature expansion.
  • Loading branch information
axw authored May 12, 2020
1 parent 8a7cd54 commit 8b4a645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ update-beats: update-beats-module update
.PHONY: update-beats-module
update-beats-module:
go get -d -u $(BEATS_MODULE)@$(BEATS_VERSION)
rsync -crv --delete $(shell go list -m -f {{.Dir}} $(BEATS_MODULE))/testing/environments testing/
rsync -crv --delete $$(go list -m -f {{.Dir}} $(BEATS_MODULE))/testing/environments testing/

##############################################################################
# Kibana synchronisation.
Expand Down

0 comments on commit 8b4a645

Please sign in to comment.