Guest User

Untitled

a guest
Oct 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. for i in /home/me/patch/*.patch; do
  2. if [[ $(grep 'hunk FAILED' <(patch -Np1 -f --dry-run < $i)) ]]; then
  3. patch -Np1 -f < $i
  4. fi
  5. done
Add Comment
Please, Sign In to add comment