Add script for apply patches

Thanks to iovxw
This commit is contained in:
Peter Cai 2022-09-06 15:52:46 -04:00
parent 6c54b29140
commit d7ecabcf71
1 changed files with 3 additions and 0 deletions

3
apply.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
find . -name "*.patch" -printf "%h\n" | uniq | xargs -I{} bash -c "cd $(pwd)/../{}; git am $(pwd)/{}/*"