summaryrefslogtreecommitdiffstats
path: root/bin/etc-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/etc-update')
-rwxr-xr-xbin/etc-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/etc-update b/bin/etc-update
index b51b1b670..858a6b98c 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -61,7 +61,7 @@ function scan() {
rfile=$(echo "${file/\/\///}" | sed -e "s:^.*/::")
for mpath in ${CONFIG_PROTECT_MASK}; do
mpath="${ROOT}${mpath}"
- mpath=$(echo ${mpath/\/\///})
+ mpath=$(echo "${mpath/\/\///}")
if [[ "${rpath}" == "${mpath}"* ]]; then
mv ${rpath}/${rfile} ${rpath}/${rfile:10}
break