From 2767e33ab782edfab8bf6dcde36c28bca9b76f87 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 18 Feb 2020 23:20:14 -0800 Subject: Fix for `cp` not being able to overwrite `bb` binary during installation. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 3342aac..a5ec0a4 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,7 @@ install: $(NAME) mkdir -pv -m 755 "$$prefix/share/man/man1" "$$prefix/bin" "$$sysconfdir/xdg/bb" \ && cp -v bbstartup.sh bindings.bb "$$sysconfdir/xdg/bb/" \ && cp -v $(NAME).1 "$$prefix/share/man/man1/" \ + && rm -f "$$prefix/bin/$(NAME)" \ && cp -v $(NAME) "$$prefix/bin/" uninstall: -- cgit v1.2.3