File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,11 @@ $(TOOLS_BIN_DIR):
146146$(TOOLS_BIN_NAMES ) : $(TOOLS_BIN_DIR ) $(TOOLS_MOD_DIR ) /go.mod
147147 cd $(TOOLS_MOD_DIR ) && $(GOCMD ) build -o $@ -trimpath $(filter % /$(notdir $@ ) ,$(TOOLS_PKG_NAMES ) )
148148
149- # postinstall.sh, preinstall.sh, and preremove.sh have OTel headers which would be overwritten were they not excluded.
150- HEADER_GEN_FILES =$(shell find $(SRC_ROOT ) /. -type f \( -name '* .go' -o -name '* .js' -o -name '* .sh' \) ! -name 'pre*' ! -name 'post*')
149+ # Exclude files we adopted from upstream which would be overwritten were they not excluded.
150+ HEADER_GEN_FILES =$(shell find $(SRC_ROOT ) /. \
151+ -type f \( -name '* .go' -o -name '* .js' -o -name '* .sh' \) \
152+ ! -name 'preinstall.sh' ! -name 'postinstall.sh' ! -name 'preremove.sh' \
153+ ! -name 'free-disk-space.sh')
151154NOTICE_OUTPUT? =THIRD_PARTY_NOTICES.md
152155FIRST_COMMIT_HASH =6451f322bfe1e62962d3d87b50d785de8048e865
153156
You can’t perform that action at this time.
0 commit comments