summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Englund <martin@englund.nu>2010-03-23 12:04:27 +0100
committerJames Turnbull <james@lovedthanlost.net>2010-03-24 09:19:39 +1100
commitd561a988c53d521d0fecf06c4f4d8a65267ac005 (patch)
treee34cb064559916aa6ffe41950555947ad78374b0
parent751df45547162632c41cf98a1b1daabbadb1b901 (diff)
downloadpuppet-d561a988c53d521d0fecf06c4f4d8a65267ac005.tar.gz
puppet-d561a988c53d521d0fecf06c4f4d8a65267ac005.tar.xz
puppet-d561a988c53d521d0fecf06c4f4d8a65267ac005.zip
Fix for #3412 install.rb should not put "." first in the tmp_dirs
Signed-off-by: Martin Englund <martin@englund.nu>
-rwxr-xr-xinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.rb b/install.rb
index 30f1d32aa..4da92d98c 100755
--- a/install.rb
+++ b/install.rb
@@ -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)