From: <jh...@us...> - 2010-06-25 16:59:11
|
Revision: 206 http://etch.svn.sourceforge.net/etch/?rev=206&view=rev Author: jheiss Date: 2010-06-25 16:59:05 +0000 (Fri, 25 Jun 2010) Log Message: ----------- Fix it so that things don't blow up if the local option is not specified. Modified Paths: -------------- trunk/client/etchclient.rb Modified: trunk/client/etchclient.rb =================================================================== --- trunk/client/etchclient.rb 2010-04-20 00:45:31 UTC (rev 205) +++ trunk/client/etchclient.rb 2010-06-25 16:59:05 UTC (rev 206) @@ -53,7 +53,7 @@ @server = options[:server] ? options[:server] : 'https://etch' @tag = options[:tag] @varbase = options[:varbase] ? options[:varbase] : '/var/etch' - @local = File.expand_path(options[:local]) + @local = options[:local] ? File.expand_path(options[:local]) : nil @debug = options[:debug] @dryrun = options[:dryrun] @interactive = options[:interactive] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |