12 lines
227 B
Bash
12 lines
227 B
Bash
#!/bin/bash
|
|
|
|
echo "Applying patches:"
|
|
|
|
while read p; do
|
|
if patch -p1 -s --no-backup-if-mismatch --fuzz=0 <patches/"$p"; then
|
|
echo -e "\t$p"
|
|
else
|
|
echo "*** Patch $p failed" >&2
|
|
exit 1
|
|
fi
|
|
done
|