From: <jh...@us...> - 2010-04-20 00:45:37
|
Revision: 205 http://etch.svn.sourceforge.net/etch/?rev=205&view=rev Author: jheiss Date: 2010-04-20 00:45:31 +0000 (Tue, 20 Apr 2010) Log Message: ----------- Pass local path through File.expand_path so that @sitelibbase and other variables still work regardless of any chdir activity. Modified Paths: -------------- trunk/client/etchclient.rb Modified: trunk/client/etchclient.rb =================================================================== --- trunk/client/etchclient.rb 2010-03-31 17:00:15 UTC (rev 204) +++ trunk/client/etchclient.rb 2010-04-20 00:45:31 UTC (rev 205) @@ -53,7 +53,7 @@ @server = options[:server] ? options[:server] : 'https://etch' @tag = options[:tag] @varbase = options[:varbase] ? options[:varbase] : '/var/etch' - @local = options[:local] + @local = File.expand_path(options[:local]) @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. |