summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"