Permalink
Browse files

Remove *nix->Windows path separator translation

Older versions of libtool apparently don't like Windows backslash
path component separators.
  • Loading branch information...
1 parent 3157273 commit 9a49520b36ae636b965595e1a00ebcaed653a526 @jonforums jonforums committed Sep 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 rake/env.rb
View
@@ -2,8 +2,8 @@ def append_env(name, value, delim=';')
env_name = name.to_s.upcase
sane_value = value.gsub(File::SEPARATOR, File::ALT_SEPARATOR)
old_value = ENV[env_name] || ''
- unless old_value.include?(sane_value)
- ENV[env_name] = "#{sane_value}#{delim}" + old_value
+ unless old_value.include?(sane_value) || old_value.include?(value)
+ ENV[env_name] = "#{value}#{delim}" + old_value
end
end

0 comments on commit 9a49520

Please sign in to comment.