Cleanup use of "quotes"

This commit is contained in:
root 2013-01-22 17:25:23 -01:00
parent 479cbcbe6e
commit 2fa9a4a7ef

View file

@ -601,7 +601,7 @@ repack_if_needed()
n_=$(line_count "$Packlist") n_=$(line_count "$Packlist")
m_=$(line_count "$pkeep_") m_=$(line_count "$pkeep_")
if [ $Repack_limit -gt "$(($n_ - $m_))" ]; then if [ "$Repack_limit" -gt "$(($n_ - $m_))" ]; then
return return
fi fi
echo_info "Repacking remote $NAME, ..." echo_info "Repacking remote $NAME, ..."
@ -704,7 +704,7 @@ do_fetch()
pick_fields @premote_ 1,2 "$Packlist" pick_fields @premote_ 1,2 "$Packlist"
if [ -s "$Localdir/have_packs+" ] if [ -s "$Localdir/have_packs+" ]
then then
pneed_="$(xecho "$premote_" | xgrep -v -x -f "$Localdir/have_packs+")" pneed_=$(xecho "$premote_" | xgrep -v -x -f "$Localdir/have_packs+")
else else
pneed_=$premote_ pneed_=$premote_
fi fi
@ -862,7 +862,7 @@ gcrypt_main_loop()
do_list do_list
;; ;;
fetch\ *) fetch\ *)
r_args="${input_##fetch }" r_args=${input_##fetch }
while read input_inner while read input_inner
do do
case "$input_inner" in case "$input_inner" in
@ -877,7 +877,7 @@ gcrypt_main_loop()
do_fetch "$r_args" do_fetch "$r_args"
;; ;;
push\ *) push\ *)
r_args="${input_##push }" r_args=${input_##push }
while read input_inner while read input_inner
do do
case "$input_inner" in case "$input_inner" in