From 330fa3f29c4ad3f05da7b1e16a355a2c88a4a26c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 1 Jan 2020 19:53:11 -0500 Subject: [PATCH 1/1] Use cp instead of ln to create the csprogs pk3. Makes building work even when hard links are not supported. --- qcsrc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/Makefile b/qcsrc/Makefile index d09b2c5ccf..7c8e3b8ad1 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -93,8 +93,8 @@ pk3: csprogs-$(VER).pk3 $(eval DAT=$(PROG)-$(VER).dat) $(eval LNO=$(PROG)-$(VER).lno) @ echo "http://xonotic.org" > $(TXT) - @ ln -f $(PROGS_OUT)/$(PROG).dat $(DAT) - @ ln -f $(PROGS_OUT)/$(PROG).lno $(LNO) + @ cp -f $(PROGS_OUT)/$(PROG).dat $(DAT) + @ cp -f $(PROGS_OUT)/$(PROG).lno $(LNO) @ $(RM) *.pk3 $(ZIP) $(PK3) $(TXT) $(DAT) $(LNO) @ $(RM) $(TXT) $(DAT) $(LNO) -- 2.39.2