diff --git a/cliv2/Makefile b/cliv2/Makefile index 9954b1ddcd..22d94880fd 100644 --- a/cliv2/Makefile +++ b/cliv2/Makefile @@ -275,6 +275,7 @@ clean: install: @echo "$(LOG_PREFIX) Installing $(V2_EXECUTABLE_NAME) ( $(DESTDIR)$(bindir) $(CLI_V1_VERSION_TAG))" @mkdir -p $(DESTDIR)$(bindir) + @rm -f $(DESTDIR)$(bindir)/$(V2_EXECUTABLE_NAME) @cp $(BUILD_DIR)/$(V2_EXECUTABLE_NAME) $(DESTDIR)$(bindir) @cp $(BUILD_DIR)/$(V2_EXECUTABLE_NAME).$(HASH_STRING) $(DESTDIR)$(bindir) @cp $(BUILD_DIR)/$(TEST_EXECUTABLE_NAME) $(DESTDIR)$(bindir)