summaryrefslogtreecommitdiffstats
path: root/mcp/patches/patch.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-24 18:53:16 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-24 18:53:16 +0000
commitf0d5de1c3ccb8f422f51e63f14a113ee1a39e270 (patch)
tree8c49d73918e4f23d77c2ac4989dd7d5fce0a6ad9 /mcp/patches/patch.sh
parentde2f8a2d26d3a47b41e2e4a27400bb245b465ece (diff)
parent544fa286cf4397941ca8627117479d7f4c6d9f28 (diff)
Merge "ci/deploy.sh: Add new `-E` arg for env erase" into stable/euphrates
Diffstat (limited to 'mcp/patches/patch.sh')
-rwxr-xr-xmcp/patches/patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/patches/patch.sh b/mcp/patches/patch.sh
index ca5c14111..1da3bc597 100755
--- a/mcp/patches/patch.sh
+++ b/mcp/patches/patch.sh
@@ -14,7 +14,7 @@ if [ -r "$1" ]; then
if [[ ! "${p_dest}" =~ '^#' ]] && [[ "${p_dest}" =~ $2 ]] && \
! patch --dry-run -Rd "${p_dest}" -r - -s -p1 < \
"/root/fuel/mcp/patches/${p_file}" > /dev/null; then
- patch -fd "${p_dest}" -p1 < "/root/fuel/mcp/patches/${p_file}"
+ patch -d "${p_dest}" -p1 < "/root/fuel/mcp/patches/${p_file}"
fi
done < "$1"
fi