sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 84876cb6bdef609013e9be53069ae5268ba53663
parent 044fe53ec88df93fab46de9eefd12e55ba8d7c64
Author: Michael Stapelberg <michael@stapelberg.de>
Date:   Fri, 19 Mar 2010 19:52:04 +0100

Use LC_MESSAGES=C when starting gpg so that the regexps for parsing the output works

Diffstat:
M lib/sup/crypto.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
@@ -194,7 +194,7 @@ private
 
   def run_gpg args, opts={}
     args = HookManager.run("gpg-args", { :args => args }) || args
-    cmd = "#{@cmd} #{args}"
+    cmd = "LC_MESSAGES=C #{@cmd} #{args}"
     if opts[:interactive] && BufferManager.instantiated?
       output_fn = Tempfile.new "redwood.output"
       output_fn.close