[csw-devel] SF.net SVN: opencsw:[403] catalog_signatures/catalog_gpg

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jul 21 04:59:31 CEST 2011


Revision: 403
          http://opencsw.svn.sourceforge.net/opencsw/?rev=403&view=rev
Author:   bdwalton
Date:     2011-07-21 02:59:30 +0000 (Thu, 21 Jul 2011)

Log Message:
-----------
use the new options where appropriate

Signed-off-by: Ben Walton <bwalton at artsci.utoronto.ca>

Modified Paths:
--------------
    catalog_signatures/catalog_gpg

Modified: catalog_signatures/catalog_gpg
===================================================================
--- catalog_signatures/catalog_gpg	2011-07-21 02:59:11 UTC (rev 402)
+++ catalog_signatures/catalog_gpg	2011-07-21 02:59:30 UTC (rev 403)
@@ -21,8 +21,8 @@
 opts.port = 9981
 opts.mirror_path = File.dirname($0)
 
-server = WEBrick::HTTPServer.new({ :Port => 9981 })
-server.mount "/clearsign", GPGDaemon, mirror_path
-server.mount "/detachsign", GPGDaemon, mirror_path
+server = WEBrick::HTTPServer.new({ :Port => opts.port })
+server.mount "/clearsign", GPGDaemon, opts.mirror_path
+server.mount "/detachsign", GPGDaemon, opts.mirror_path
 trap('INT') { server.shutdown }
 server.start


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