[csw-devel] SF.net SVN: opencsw:[411] catalog_signatures/lib/csw/gpg_daemon.rb
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Thu Jul 21 05:02:37 CEST 2011
Revision: 411
http://opencsw.svn.sourceforge.net/opencsw/?rev=411&view=rev
Author: bdwalton
Date: 2011-07-21 03:02:37 +0000 (Thu, 21 Jul 2011)
Log Message:
-----------
set a few instance variable (path and catalog file) at initialization
Signed-off-by: Ben Walton <bwalton at artsci.utoronto.ca>
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:02:14 UTC (rev 410)
+++ catalog_signatures/lib/csw/gpg_daemon.rb 2011-07-21 03:02:37 UTC (rev 411)
@@ -4,6 +4,8 @@
def initialize(server, mirror_path, catalogpath)
@mirror_path = mirror_path
@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"
end
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