_muttconffiles: Use printf instead of echo (Alioth: #312163).

This commit is contained in:
Ville Skyttä 2011-11-27 00:26:00 +02:00
parent afb2fdd010
commit 6a713c316f

View File

@ -57,7 +57,7 @@ _muttconffiles()
sofar=" $1 "
shift
while [[ "$1" ]]; do
newconffiles=( $(sed -n 's|^source[[:space:]]\{1,\}\([^[:space:]]\{1,\}\).*$|\1|p' $(eval echo $1) ) )
newconffiles=( $(sed -n 's|^source[[:space:]]\{1,\}\([^[:space:]]\{1,\}\).*$|\1|p' $(eval printf %s $1) ) )
for file in "${newconffiles[@]}"; do
__expand_tilde_by_ref file
[[ ! -f "$file" || $sofar == *\ $file\ * ]] && continue