From: Ian Abbott Date: Tue, 14 Dec 2010 14:37:18 +0000 (+0000) Subject: Import DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4b8bf1aff5dd3e86fad0b128bfc2c51c81b2d13b;p=comedilib.git Import DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths. Patch from W. Trevor King. --- diff --git a/swig/ruby/setup.rb b/swig/ruby/setup.rb index 424a5f3..228ec2e 100644 --- a/swig/ruby/setup.rb +++ b/swig/ruby/setup.rb @@ -41,6 +41,9 @@ def File.dir?(path) File.directory?((path[-1,1] == '/') ? path : path + '/') end +if ENV['DESTDIR'] then + DESTDIR = ENV['DESTDIR'] +end class ConfigTable