summaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
authorElias Lutfallah <elias.lutfallah@orbitz.com>2011-03-05 15:23:06 -0600
committerElias Lutfallah <elias.lutfallah@orbitz.com>2011-03-05 15:28:23 -0600
commit1b1e803b4d2bf1e87b8796556439e3c0bada57ea (patch)
treefee386ba1d7f2a1554eab7c0714f6336ff46431b /install.rb
parentf4a0af16eaa30571662017cab7e106a96b99988d (diff)
downloadpuppet-1b1e803b4d2bf1e87b8796556439e3c0bada57ea.tar.gz
puppet-1b1e803b4d2bf1e87b8796556439e3c0bada57ea.tar.xz
puppet-1b1e803b4d2bf1e87b8796556439e3c0bada57ea.zip
(5724) Prep for deprecation of DESTDIR
In preparation of deprecating the DESTDIR env variable, I've added a warning when the DESTDIR variable is being used.
Diffstat (limited to 'install.rb')
-rwxr-xr-xinstall.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.rb b/install.rb
index d20b7cda7..e8755e07a 100755
--- a/install.rb
+++ b/install.rb
@@ -306,6 +306,7 @@ def prepare_installation
# To be deprecated once people move over to using --destdir option
elsif ENV['DESTDIR'] != nil?
destdir = ENV['DESTDIR']
+ warn "DESTDIR is deprecated. Use --destdir instead."
else
destdir = ''
end