You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2024/04/29 15:50:16 UTC
(arrow) 08/24: GH-41247: [Release] Use LC_ALL in binary upload scripts (#41248)
This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch maint-16.x.x
in repository https://gitbox.apache.org/repos/asf/arrow.git
commit a05dc9c4e1480e55bb7cf0f17b0082dd85963625
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Thu Apr 18 17:41:40 2024 +0900
GH-41247: [Release] Use LC_ALL in binary upload scripts (#41248)
### Rationale for this change
Setting all `LC_*` explicitly is redundant.
### What changes are included in this PR?
Use `LC_ALL` instead.
### Are these changes tested?
No.
### Are there any user-facing changes?
No.
* GitHub Issue: #41247
Authored-by: Sutou Kouhei <ko...@clear-code.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
dev/release/05-binary-upload.sh | 11 +----------
dev/release/binary/runner.sh | 11 +----------
2 files changed, 2 insertions(+), 20 deletions(-)
diff --git a/dev/release/05-binary-upload.sh b/dev/release/05-binary-upload.sh
index a45b8fbf8d..3515883bfa 100755
--- a/dev/release/05-binary-upload.sh
+++ b/dev/release/05-binary-upload.sh
@@ -22,16 +22,7 @@ set -u
set -o pipefail
export LANG=C.UTF-8
-export LC_ADDRESS=C.UTF-8
-export LC_CTYPE=C.UTF-8
-export LC_IDENTIFICATION=C.UTF-8
-export LC_MEASUREMENT=C.UTF-8
-export LC_MONETARY=C.UTF-8
-export LC_NAME=C.UTF-8
-export LC_NUMERIC=C.UTF-8
-export LC_PAPER=C.UTF-8
-export LC_TELEPHONE=C.UTF-8
-export LC_TIME=C.UTF-8
+export LC_ALL=C.UTF-8
SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
diff --git a/dev/release/binary/runner.sh b/dev/release/binary/runner.sh
index 76f7bce1ab..d4c0f67dde 100755
--- a/dev/release/binary/runner.sh
+++ b/dev/release/binary/runner.sh
@@ -20,16 +20,7 @@
set -u
export LANG=C.UTF-8
-export LC_ADDRESS=C.UTF-8
-export LC_CTYPE=C.UTF-8
-export LC_IDENTIFICATION=C.UTF-8
-export LC_MEASUREMENT=C.UTF-8
-export LC_MONETARY=C.UTF-8
-export LC_NAME=C.UTF-8
-export LC_NUMERIC=C.UTF-8
-export LC_PAPER=C.UTF-8
-export LC_TELEPHONE=C.UTF-8
-export LC_TIME=C.UTF-8
+export LC_ALL=C.UTF-8
target_dir=/host/binary/tmp
original_owner=$(stat --format=%u ${target_dir})