From: Zac Medico Date: Sat, 17 Mar 2012 23:28:54 +0000 (-0700) Subject: etc-update: quote ${file} X-Git-Tag: v2.2.0_alpha91 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e2d957d83109c678bce388b2f553fa2403711724;p=portage.git etc-update: quote ${file} --- diff --git a/bin/etc-update b/bin/etc-update index b07652075..b4f9eec53 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -391,7 +391,7 @@ do_cfg() { 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