From 64f3cd4aa117972c5540484a0328322e77ff62f1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 27 Jun 2018 20:47:48 +0200 Subject: bin/copy-to-build-support: do not prepend "./" to remote paths --- bin/copy-to-build-support | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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" -- cgit v1.2.3-70-g09d2