commit 12bb58c09b9cab543f54e189e26cac87230ca800
Author: Jan RÄ™korajski <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to