[csw-devel] SF.net SVN: opencsw:[417] catalog_signatures/lib/csw/gpg_daemon.rb

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jul 21 05:04:57 CEST 2011


Revision: 417
          http://opencsw.svn.sourceforge.net/opencsw/?rev=417&view=rev
Author:   bdwalton
Date:     2011-07-21 03:04:56 +0000 (Thu, 21 Jul 2011)

Log Message:
-----------
use the gpg options to craft the gpg command line at GPGDaemon init time

Signed-off-by: Ben Walton <bwalton at opencsw.org>

Modified Paths:
--------------
    catalog_signatures/lib/csw/gpg_daemon.rb

Modified: catalog_signatures/lib/csw/gpg_daemon.rb
===================================================================
--- catalog_signatures/lib/csw/gpg_daemon.rb	2011-07-21 03:04:34 UTC (rev 416)
+++ catalog_signatures/lib/csw/gpg_daemon.rb	2011-07-21 03:04:56 UTC (rev 417)
@@ -6,7 +6,7 @@
     @catalog_path = catalogpath
     @full_path = File.join(@mirror_path, @catalog_path)
     @catalog_file = File.join(@full_path, 'catalog')
-    @gpg = "gpg --batch --yes --no-tty -a --output /dev/stdout"
+    @gpg = "#{gpg.bin} --homedir #{gpg.home} --batch --yes --no-tty -a --output /dev/stdout"
   end
 
   def do_GET(request, response)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list