Add missing quotes.
authorZac Medico <zmedico@gentoo.org>
Thu, 15 Feb 2007 20:23:26 +0000 (20:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 15 Feb 2007 20:23:26 +0000 (20:23 -0000)
svn path=/main/trunk/; revision=5970

bin/etc-update

index b51b1b6701f6f9d4b843baa1f2fa2fc208391dca..858a6b98c35c6aba5f101dae2f43b6844be48de6 100755 (executable)
@@ -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