maas.region: Add missing port to maas_url
[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