From 4b8bf1aff5dd3e86fad0b128bfc2c51c81b2d13b Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Tue, 14 Dec 2010 14:37:18 +0000 Subject: [PATCH] Import DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths. Patch from W. Trevor King. --- swig/ruby/setup.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2