[packages/rpm-build-tools] Run rpm in C locale to avoid mismatching on translation
baggins
baggins at pld-linux.org
Tue Feb 23 10:43:17 CET 2021
commit 12bb58c09b9cab543f54e189e26cac87230ca800
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Feb 23 10:42:26 2021 +0100
Run rpm in C locale to avoid mismatching on translation
builder.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index 8ee6fec..e0f1da3 100755
--- a/builder.sh
+++ b/builder.sh
@@ -479,7 +479,7 @@ Usage: builder [--all-branches] [-D|--debug] [-V|--version] [--short-version] [
is_rpmorg() {
local v
- v=$(rpm --version 2>&1)
+ v=$(LANG=C rpm --version 2>&1)
v=${v#RPM version } # rpm 4
v=${v#rpm \(RPM\) } # rpm 5
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/857fd9dfaa14e06cdac6beea3abd578b2f297ac5
More information about the pld-cvs-commit
mailing list