projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df57477
)
Import DESTDIR in swig/ruby/setup.rb for configurable rbconfig install paths.
author
Ian Abbott
<abbotti@mev.co.uk>
Tue, 14 Dec 2010 14:37:18 +0000
(14:37 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Tue, 14 Dec 2010 14:37:18 +0000
(14:37 +0000)
Patch from W. Trevor King.
swig/ruby/setup.rb
patch
|
blob
|
history
diff --git
a/swig/ruby/setup.rb
b/swig/ruby/setup.rb
index 424a5f37c6fe3a7cac54b0f85688c1cce7da9cdf..228ec2e1bb6987b7c8ac1cdb494a9d0c9303cd58 100644
(file)
--- 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