Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-30 09:58:51 +0200
committerErich Eckner <git@eckner.net>2017-06-30 09:58:51 +0200
commit1df881c55e587c587235ec41a66c6537c21cc8a0 (patch)
treecfebeacc3825ef5033fb56a8332749783a51dce2 /bin/common-functions
parenta540199a427535b3b477b82a1300956f9b3212af (diff)
master_mirror_command, master_mirror_directory -> master_mirror_rsync_command, master_mirror_rsync_directory
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 0d46382..9c148a5 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -255,8 +255,8 @@ ls_master_mirror() {
local path="$1"
- ${master_mirror_command} \
- "${master_mirror_directory}/${path}/" | \
+ ${master_mirror_rsync_command} \
+ "${master_mirror_rsync_directory}/${path}/" | \
grep -v '\s\.$' | \
awk '{print $5}'
@@ -272,7 +272,7 @@ remove_old_package_versions() {
local pkgname="${package%-*-*-*.pkg.tar.xz}"
- ${master_mirror_command} \
+ ${master_mirror_rsync_command} \
--recursive \
--delete \
$( \
@@ -283,7 +283,7 @@ remove_old_package_versions() {
) \
'--exclude=*' \
./ \
- "${master_mirror_directory}/${directory}/"
+ "${master_mirror_rsync_directory}/${directory}/"
}