summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-08 08:43:30 +0200
committerErich Eckner <git@eckner.net>2018-06-08 08:43:30 +0200
commite32962196fb5c26643d7f3c02facba2b1d08c17e (patch)
tree7fe9cfea0b5cc91dab2469683b2f68bfea062b17 /lib
parent19331c922ef3903a622d02fb0070ab006216579a (diff)
downloadbuilder-e32962196fb5c26643d7f3c02facba2b1d08c17e.tar.xz
lib/common-functions: remove_old_package_versions() fix location for rsync command
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 3853089..e9534f4 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -202,8 +202,8 @@ remove_old_package_versions() {
"${tmp_dir}/transit/"
repo-remove "${tmp_dir}/transit/${repo}.db.tar.gz" "${pkgname}"
${master_mirror_rsync_command} \
- "${tmp_dir}/repos/${arch}/${repo}/${repo}.db."* \
- "${tmp_dir}/repos/${arch}/${repo}/${repo}.files."* \
+ "${tmp_dir}/transit/${repo}.db."* \
+ "${tmp_dir}/transit/${repo}.files."* \
"${master_mirror_rsync_directory}/${arch}/${repo}/"
rm -rf --one-file-system "${tmp_dir}/transit"
done < \