From a69bac0464baf3cfa9655401f18fcd74b2b7e377 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 17 Feb 2020 15:10:44 -0500 Subject: [PATCH] use new cowpatch -I command rather than open-coding same thing in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 07d111a..35bfcef 100644 --- a/Makefile +++ b/Makefile @@ -133,7 +133,7 @@ musl-git-%: case "$@" in */*) exit 1 ;; esac rm -rf $@.tmp mkdir $@.tmp - ( cd $@.tmp && find ../$< -path '*/*/*' -prune -exec sh -c 'ln -s "$$@" .' ':' {} + ) + ( cd $@.tmp && $(COWPATCH) -I ../$< ) test ! -d patches/$@ || cat patches/$@/* | ( cd $@.tmp && $(COWPATCH) -p1 ) test ! -f $