summaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
authorMartin Englund <martin@englund.nu>2010-03-23 12:04:27 +0100
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commite6a720b67abc16e0a008021b8192f84c11060635 (patch)
treec3b0a17d7e0973b10f465312d853d0ec9d6d87f4 /install.rb
parentb1b3bcfb5aaace5b6f678b63b02b612cf33a1781 (diff)
downloadpuppet-e6a720b67abc16e0a008021b8192f84c11060635.tar.gz
puppet-e6a720b67abc16e0a008021b8192f84c11060635.tar.xz
puppet-e6a720b67abc16e0a008021b8192f84c11060635.zip
Fix for #3412 install.rb should not put "." first in the tmp_dirs
Signed-off-by: Martin Englund <martin@englund.nu>
Diffstat (limited to 'install.rb')
-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)