Code Review
/
fuel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "reclass: virtual: Factor out common infra config"
[fuel.git]
/
mcp
/
patches
/
patch.sh
1
#!/bin/bash
2
3
if [ -r "$1" ]; then
4
while IFS=': ' read -r p_dest p_file; do
5
[[ "${p_dest}" =~ $2 ]] && \
6
patch -fd "${p_dest}" -p1 < "/root/fuel/mcp/patches/${p_file}"
7
done < "$1"
8
fi