From: <jh...@us...> - 2010-01-21 00:41:59
|
Revision: 195 http://etch.svn.sourceforge.net/etch/?rev=195&view=rev Author: jheiss Date: 2010-01-21 00:41:53 +0000 (Thu, 21 Jan 2010) Log Message: ----------- Fix a bug and a cut-n-paste typo. Modified Paths: -------------- trunk/client/Rakefile Modified: trunk/client/Rakefile =================================================================== --- trunk/client/Rakefile 2010-01-21 00:01:49 UTC (rev 194) +++ trunk/client/Rakefile 2010-01-21 00:41:53 UTC (rev 195) @@ -51,8 +51,8 @@ # Substitute ETCHVER into etchclient.rb # Substitute proper path into CONFIGDIR in etchclient.rb if appropriate - File.open(File.join(libdir, 'etchclient.rb.new'), 'w') do |newfile| - IO.foreach(File.join(libdir, 'etchclient.rb')) do |line| + File.open(File.join(libdir, 'etchclient.rb'), 'w') do |newfile| + IO.foreach('etchclient.rb') do |line| if line =~ /^\s*VERSION/ line.sub!(/=.*/, "= '#{ETCHVER}'") end @@ -408,7 +408,7 @@ # rm_rf(BUILDROOT) - copy_tpkg_files(BUILDROOT, + copy_etch_files(BUILDROOT, :bindir => 'bin', :libdir => 'lib') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |