summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-11 09:18:28 +0200
committerErich Eckner <git@eckner.net>2018-06-11 09:18:28 +0200
commitc846745a144e4a955ec41ba8277384bff5e98c7e (patch)
tree8c819293e3d71fcc56392b39404c96d86b6995b1
parent76816c52cb81cdb2ccf3e315b35fe7704828845d (diff)
downloadbuilder-c846745a144e4a955ec41ba8277384bff5e98c7e.tar.xz
bin/copy-to-build-support: prepend "./" to rsync
-rwxr-xr-xbin/copy-to-build-support2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index cf5061a..1840855 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -162,7 +162,7 @@ if [ -s "${tmp_dir}/to-copy" ]; then
mkdir "${tmp_dir}/transit/${repo_arch}/"
# shellcheck disable=SC2046
${master_mirror_rsync_command} \
- $(sed -n 's/^'"$(str_to_regex "${repo_arch}")"' //;T;p' "${tmp_dir}/to-copy") \
+ $(sed -n 's,^'"$(str_to_regex "${repo_arch}")"' ,./,;T;p' "${tmp_dir}/to-copy") \
"${tmp_dir}/transit/${repo_arch}/"
repo-add "${tmp_dir}/${repo_arch}/build-support.db.tar.gz" \
"${tmp_dir}/transit/${repo_arch}/"*".pkg.tar.xz"