Skip to content

Commit 27ee461

Browse files
authored
Merge pull request #4570 from snyk/fix/macos_process_killed
fix: avoid security tools to kill installed binaries
2 parents 794017f + 54a6952 commit 27ee461

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cliv2/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ clean:
275275
install:
276276
@echo "$(LOG_PREFIX) Installing $(V2_EXECUTABLE_NAME) ( $(DESTDIR)$(bindir) $(CLI_V1_VERSION_TAG))"
277277
@mkdir -p $(DESTDIR)$(bindir)
278+
@rm -f $(DESTDIR)$(bindir)/$(V2_EXECUTABLE_NAME)
278279
@cp $(BUILD_DIR)/$(V2_EXECUTABLE_NAME) $(DESTDIR)$(bindir)
279280
@cp $(BUILD_DIR)/$(V2_EXECUTABLE_NAME).$(HASH_STRING) $(DESTDIR)$(bindir)
280281
@cp $(BUILD_DIR)/$(TEST_EXECUTABLE_NAME) $(DESTDIR)$(bindir)

0 commit comments

Comments
 (0)