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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jul 21 05:03:47 CEST 2011


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

Log Message:
-----------
update default path settings after moving catalog_gpg to bin

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

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

Modified: catalog_signatures/bin/catalog_gpg
===================================================================
--- catalog_signatures/bin/catalog_gpg	2011-07-21 03:03:28 UTC (rev 413)
+++ catalog_signatures/bin/catalog_gpg	2011-07-21 03:03:47 UTC (rev 414)
@@ -13,7 +13,7 @@
   require 'csw/gpg_daemon'
 rescue LoadError => e
   if retried.nil?
-    $:.unshift(File.join(File.dirname($0), 'lib'))
+    $:.unshift(File.join(File.dirname($0), '..', 'lib'))
     retried = 1
     retry
   else
@@ -23,7 +23,7 @@
 
 opts = OpenStruct.new
 opts.port = 9981
-opts.mirror_path = File.dirname($0)
+opts.mirror_path = File.join(File.dirname($0), '..')
 
 OptionParser.new do |o|
   o.banner = "Usage: #{File.basename($0)} [options]"


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