From 6739b4ee006275422f79c8e7b4d27fd7b2315728 Mon Sep 17 00:00:00 2001 From: James Ross Date: Tue, 15 Sep 2026 19:05:21 -0700 Subject: [PATCH] fix: make install removes a stale symlink before copying `install` refuses when the destination is a symlink to the source file ("are the same file"), which is exactly the state a machine is in after upgrading from v0.2.1's symlink install. Remove the destination first. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 2e5c37f..3dcf061 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ test: install: mkdir -p $(PREFIX)/bin + rm -f $(PREFIX)/bin/git-locks install -m 0755 bin/git-locks $(PREFIX)/bin/git-locks uninstall: