Skip to content

Commit

Permalink
Fix for #3412 install.rb should not put "." first in the tmp_dirs
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Englund <martin@englund.nu>
  • Loading branch information
pmenglund authored and test branch committed Feb 17, 2010
1 parent b1b3bcf commit e6a720b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def prepare_installation
opts.parse!
end

tmpdirs = [".", ENV['TMP'], ENV['TEMP'], "/tmp", "/var/tmp"]
tmpdirs = [ENV['TMP'], ENV['TEMP'], "/tmp", "/var/tmp", "."]

version = [Config::CONFIG["MAJOR"], Config::CONFIG["MINOR"]].join(".")
libdir = File.join(Config::CONFIG["libdir"], "ruby", version)
Expand Down

0 comments on commit e6a720b

Please sign in to comment.