whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit e58980e: set gpg home directory
Date Fri, 04 Mar 2016 15:27:10 GMT
Commit e58980e6cbe33946bbfab78ef696fcbadf0ec1cc:
    set gpg home directory


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@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)

Mime
View raw message