Clear CDPATH to avoid make issues that depend on changing directories

This commit is contained in:
Joshua Peek 2009-09-11 11:10:20 -05:00 committed by Max Howell
parent f150e5ece2
commit acd913593a

View File

@ -179,6 +179,8 @@ paths=ENV['PATH'].split(':').reject do |p|
end
ENV['PATH']=paths*':'
# Clear CDPATH to avoid make issues that depend on changing directories
ENV.delete('CDPATH')
def inreplace(path, before, after)
before=Regexp.escape before.to_s