Fix for cp not being able to overwrite bb binary during

installation.
This commit is contained in:
Bruce Hill 2020-02-18 23:20:14 -08:00
parent f9fc99d28e
commit 2767e33ab7

View File

@ -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: