From 7ed556083fa1b8ed8230c86b52a78430abb2ff19 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 13 Jun 2006 23:07:18 +0000 Subject: Fixing installer; it somehow got broken with recent DESTDIR fixes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1266 980ebf18-57e1-0310-9a29-db15c13687c0 --- install.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.rb b/install.rb index dbb9a3c98..25e3a2f56 100644 --- a/install.rb +++ b/install.rb @@ -167,6 +167,7 @@ def prepare_installation FileUtils.makedirs(bd) FileUtils.makedirs(sd) else + bd = Config::CONFIG['bindir'] bds << Config::CONFIG['bindir'] end @@ -278,6 +279,7 @@ def install_binfile(from, op_file, target) installed_wrapper = true end end + p target FileUtils.install(tmp_file, File.join(target, op_file), :mode => 0755, :verbose => true) File.unlink(tmp_file) end -- cgit