index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-30 09:58:51 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-30 09:58:51 +0200 |
commit | 1df881c55e587c587235ec41a66c6537c21cc8a0 (patch) | |
tree | cfebeacc3825ef5033fb56a8332749783a51dce2 /bin/common-functions | |
parent | a540199a427535b3b477b82a1300956f9b3212af (diff) |
-rwxr-xr-x | bin/common-functions | 8 |
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}/" } |