Ensure gpg outputs English messages

This commit is contained in:
solicode 2015-03-22 04:01:58 +09:00
parent 45b183a3e9
commit 4b7f6667a3

View file

@ -94,7 +94,8 @@
"Shells out to (gpg-program) with the given arguments"
[& args]
(try
(apply shell/sh (gpg-program) args)
(shell/with-sh-env {:LANGUAGE "en"}
(apply shell/sh (gpg-program) args))
(catch java.io.IOException e
{:exit 1 :err (.getMessage e)})))