commit | e2d957d83109c678bce388b2f553fa2403711724 | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Sat Mar 17 16:28:54 2012 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Sat Mar 17 16:28:54 2012 -0700 |
tree | 822ea032d92b11928e4ba36454badeffab240d62 | |
parent | e769fdbec25f2e77953619bc131f15518a33ad1a [diff] |
etc-update: quote ${file}
diff --git a/bin/etc-update b/bin/etc-update index b076520..b4f9eec 100755 --- a/bin/etc-update +++ b/bin/etc-update
@@ -391,7 +391,7 @@ local ofile=$2 local -i my_input=0 - until (( my_input == -1 )) || [ ! -f ${file} ] ; do + until (( my_input == -1 )) || [ ! -f "${file}" ] ; do if [[ "${OVERWRITE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then my_input=1 elif [[ "${DELETE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then