You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2022/12/25 22:01:56 UTC
[arrow-adbc] branch main updated: chore(dev/release): use "find -exec" instead of "xargs mv -t" (#287)
This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new ce5addd chore(dev/release): use "find -exec" instead of "xargs mv -t" (#287)
ce5addd is described below
commit ce5adddd43cb58fb550511de3f2cb328f0612400
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Mon Dec 26 07:01:51 2022 +0900
chore(dev/release): use "find -exec" instead of "xargs mv -t" (#287)
Fixes #275.
Because "mv -t" isn't portable.
---
dev/release/05-linux-upload.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/release/05-linux-upload.sh b/dev/release/05-linux-upload.sh
index be75cfa..f48b818 100755
--- a/dev/release/05-linux-upload.sh
+++ b/dev/release/05-linux-upload.sh
@@ -56,7 +56,7 @@ main() {
tar xf ${tar_gz} -C tmp
base_dir=${tar_gz%.tar.gz}
mkdir -p ${base_dir}
- find tmp -type f -print0 | xargs -0 mv -t ${base_dir}
+ find tmp -type f -exec mv '{}' ${base_dir} ';'
rm -rf tmp
rm -f ${tar_gz}
done