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 $