You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/03/04 16:27:10 UTC

[whimsy.git] [1/1] Commit e58980e: set gpg home directory

Commit e58980e6cbe33946bbfab78ef696fcbadf0ec1cc:
    set gpg home directory


Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/secretary/workbench/file.cgi                             | ++ 
------------------------------------------------------------
2 changes: 2 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/secretary/workbench/file.cgi b/www/secretary/workbench/file.cgi
index b26d4af..b589d51 100755
--- a/www/secretary/workbench/file.cgi
+++ b/www/secretary/workbench/file.cgi
@@ -10,6 +10,8 @@ require 'whimsy/asf'
 
 ENV['LANG'] = 'en_US.UTF-8'
 
+ENV['GNUPGHOME'] = '/srv/gpg' if Dir.exist?('/srv/gpg')
+
 def html_fragment(&block)
   x = Wunderbar::HtmlMarkup.new({})
   x.instance_eval(&block)