diff options
Diffstat (limited to 'mcp/patches/patch.sh')
-rwxr-xr-x | mcp/patches/patch.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mcp/patches/patch.sh b/mcp/patches/patch.sh new file mode 100755 index 000000000..9f9cdea0e --- /dev/null +++ b/mcp/patches/patch.sh @@ -0,0 +1,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 + |