summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-27 20:47:48 +0200
committerErich Eckner <git@eckner.net>2018-06-27 20:47:48 +0200
commit64f3cd4aa117972c5540484a0328322e77ff62f1 (patch)
tree492ccc69cac66be23b07cbc98cfbc111360126b5
parent32a5f60bfe859e9d09013fd9809f183a393f676a (diff)
downloadbuilder-64f3cd4aa117972c5540484a0328322e77ff62f1.tar.xz
bin/copy-to-build-support: do not prepend "./" to remote paths
-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 8388675..faa93e7 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -170,7 +170,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"