diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2014-11-07 13:54:16 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2014-11-07 13:54:16 -0300 |
commit | 570d268eb41a3e2e0b17e9be3d2457e073a1567e (patch) | |
tree | 54afa01ca8de77cc1da5916572c06c57d60ea2aa /parabola-mirror-repos | |
parent | 600055c90c2b7557557d1f6818723d39c3db57a6 (diff) |
parabola-mirror-repos: Variable name to lowercase
Diffstat (limited to 'parabola-mirror-repos')
-rwxr-xr-x | parabola-mirror-repos | 10 |
1 files changed, 5 insertions, 5 deletions
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}) |