aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/patches
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-08 21:19:01 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-08 21:19:46 +0200
commit8b810c6a4d80112a2d07cc5599984403d590579d (patch)
treee00ce454a5323e0b8851a155854a838c15437215 /mcp/patches
parent91312836e649c24d2d0268f1f5c8aa45fdd79a8d (diff)
bash scripts: Fix remaining shellcheck warn/errs
Fix/silence all shellcheck errors, except for scripts in <prototypes/sfc_tacker>. Change-Id: Idc317cdba0f69b78299f2d3665e72ffc19dd8af5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/patches')
-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 aac0017b2..6cd65fd10 100755
--- a/mcp/patches/patch.sh
+++ b/mcp/patches/patch.sh
@@ -2,7 +2,7 @@
if [ -r "$1" ]; then
while IFS=': ' read -r p_dest p_file; do
- [[ "${p_dest}" =~ "$2" ]] && \
+ [[ "${p_dest}" =~ $2 ]] && \
patch -fd "${p_dest}" -p1 < "/root/fuel/mcp/patches/${p_file}"
done < "$1"
fi