From 570d268eb41a3e2e0b17e9be3d2457e073a1567e Mon Sep 17 00:00:00 2001 From: Esteban Carnevale Date: Fri, 7 Nov 2014 13:54:16 -0300 Subject: parabola-mirror-repos: Variable name to lowercase --- parabola-mirror-repos | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'parabola-mirror-repos') diff --git a/parabola-mirror-repos b/parabola-mirror-repos index a98fbab..399e2d6 100755 --- a/parabola-mirror-repos +++ b/parabola-mirror-repos @@ -25,10 +25,10 @@ log_tmp="$(mktemp -p /var/tmp)" : ${repos:=core extra community multilib libre kernels libre-multilib libre-multilib-testing libre-testing nonprism nonprism-testing java cross pcr} # mips64el is also excluded in some rsync invocations in this script : ${max_delete:=10000} # maximum amount of files to delete in the local directory -[[ ! ${BW_LIMIT} ]] && \ - : ${BW_LIMIT:=1300} # KB/s +[[ ! ${bw_limit} ]] && \ + : ${bw_limit:=1300} # KB/s : ${log_file:=${script_filename}.log} -: ${options:=-rltvH --no-p --no-g --max-delete=$max_delete --exclude=.* --bwlimit=${BW_LIMIT} --no-motd --chmod=Dug=srwx,Fug=rw --log-file=${log_tmp}} +: ${options:=-rltvH --no-p --no-g --max-delete=$max_delete --exclude=.* --bwlimit=${bw_limit} --no-motd --chmod=Dug=srwx,Fug=rw --log-file=${log_tmp}} : ${oldest_version:=100} # delete versions older than this version : ${link_dest[0]:=${base_dir}/archlinux} #: ${link_dest[1]:=${base_dir}/parabola.secondary_mirror.tmp} @@ -157,8 +157,8 @@ tmp_exists=0 local_useful=0 date_exact="" first_run=0 -if [[ ${BW_LIMIT} ]] ; then - options+=" --bwlimit=${BW_LIMIT}" +if [[ ${bw_limit} ]] ; then + options+=" --bwlimit=${bw_limit}" fi path_list_array=(${path_list}) repos_array=(${repos}) -- cgit v1.2.3-54-g00ecf