summaryrefslogtreecommitdiffstats
path: root/mcp/patches/patch.sh
blob: 9f9cdea0eb2453a5087a3fc6d8ec5f5c985cefb7 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ -r "$1" ]; then
  while IFS=': ' read -r p_dest p_file; do
    patch -d $p_dest -p1 < /root/fuel/mcp/patches/$p_file
  done < $1
fi