diff options
author | Erich Eckner <git@eckner.net> | 2018-06-27 20:47:48 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-27 20:47:48 +0200 |
commit | 64f3cd4aa117972c5540484a0328322e77ff62f1 (patch) | |
tree | 492ccc69cac66be23b07cbc98cfbc111360126b5 | |
parent | 32a5f60bfe859e9d09013fd9809f183a393f676a (diff) | |
download | builder-64f3cd4aa117972c5540484a0328322e77ff62f1.tar.xz |
bin/copy-to-build-support: do not prepend "./" to remote paths
-rwxr-xr-x | bin/copy-to-build-support | 2 |
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" |