[csw-devel] SF.net SVN: opencsw:[448] catalog_signatures/bin/catalog_gpg
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Thu Jul 21 05:16:06 CEST 2011
Revision: 448
http://opencsw.svn.sourceforge.net/opencsw/?rev=448&view=rev
Author: bdwalton
Date: 2011-07-21 03:16:06 +0000 (Thu, 21 Jul 2011)
Log Message:
-----------
update catalog_gpg to use APP_GPG instead of DAEMON_GPG env variable
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:15:47 UTC (rev 447)
+++ catalog_signatures/bin/catalog_gpg 2011-07-21 03:16:06 UTC (rev 448)
@@ -25,7 +25,7 @@
opts.port = 9981
opts.mirror_path = File.join(File.dirname($0), '..')
opts.gpg = OpenStruct.new
-opts.gpg.home = ENV['DAEMON_GPG']
+opts.gpg.home = ENV['APP_GPG']
opts.gpg.bin = '/opt/csw/bin/gpg'
OptionParser.new do |o|
@@ -46,7 +46,7 @@
end.parse!
if opts.gpg.home.nil?
- $stderr.puts "Can't start daemon without a valid DAEMON_GPG in the environment"
+ $stderr.puts "Can't start daemon without a valid APP_GPG in the environment"
exit 1
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