git » gsm.git » main » tree

[main] / gsm-fix-toast-install.patch

--- Makefile.orig	2022-08-02 00:11:31.493613903 +0300
+++ Makefile	2022-08-02 00:11:40.203644903 +0300
@@ -359,11 +359,11 @@
 
 $(TOAST_INSTALL_BIN)/untoast:	$(TOAST_INSTALL_BIN)/toast
 		-rm $(RMFLAGS) $@
-		$(LN) $? $@
+		$(LN) toast $@
 
 $(TOAST_INSTALL_BIN)/tcat:	$(TOAST_INSTALL_BIN)/toast
 		-rm $(RMFLAGS) $@
-		$(LN) $? $@
+		$(LN) toast $@
 
 $(TOAST_INSTALL_MAN)/toast.1:	$(MAN)/toast.1
 		-rm $(RMFLAGS) $@