From eb979cc08ba3aa6b2e6da5328ee0568049981dc4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 23 Jan 2020 13:18:17 -0500 Subject: [PATCH] remove old patched source dir before trying to rename new one over it --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index cf6c084..9c7e338 100644 --- a/Makefile +++ b/Makefile @@ -132,6 +132,7 @@ musl-git-%: ( cd $@.tmp && find ../$< -path '*/*/*' -prune -exec sh -c 'ln -s "$$@" .' ':' {} + ) test ! -d patches/$@ || cat patches/$@/* | ( cd $@.tmp && $(COWPATCH) -p1 ) test ! -f $