[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Copy dll's from the correct directory for Windows Ruby binding tests

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-02-12 23:22:59 CET

Ping...

I know this is an old one, but did anybody get a chance to look at this
patch?

-Hyrum

Joe Swatosh wrote:
> Hi All,
>
> Fiddly little fix.
>
> [[[
>
> Copy the dll's from the correct directory to the .ext directory for test.
>
> * subversion/bindings/swig/ruby/test/run-test.rb
> Copy the dlls from the correct directory
>
> ]]]
>
> Index: subversion/bindings/swig/ruby/test/run-test.rb
> ===================================================================
> --- subversion/bindings/swig/ruby/test/run-test.rb (revision 22844)
> +++ subversion/bindings/swig/ruby/test/run-test.rb (working copy)
> @@ -15,7 +15,8 @@
> if /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM)
> ext_svn_ext_dir = File.join(ext_svn_dir, "ext")
> FileUtils.mkdir_p(ext_svn_ext_dir)
> - FileUtils.cp(Dir.glob(File.join(base_dir, "*.dll"), ext_svn_ext_dir))
> + dlls_dir =
> base_dir.split(File::SEPARATOR).insert(-5,'Release').join(File::SEPARATOR)
> + FileUtils.cp(Dir.glob(File.join(dlls_dir, "*.dll")), ext_svn_ext_dir)
> else
> ENV["PATH"] = "#{File.join(top_dir, 'subversion',
> 'svnserve')}:#{ENV['PATH']}"
> FileUtils.ln_sf(File.join(base_dir, ".libs"), File.join(ext_svn_dir,
> "ext"))

Received on Mon Feb 12 23:23:26 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.