diff options
author | Elias Lutfallah <elias.lutfallah@orbitz.com> | 2011-03-05 15:23:06 -0600 |
---|---|---|
committer | Elias Lutfallah <elias.lutfallah@orbitz.com> | 2011-03-05 15:28:23 -0600 |
commit | 1b1e803b4d2bf1e87b8796556439e3c0bada57ea (patch) | |
tree | fee386ba1d7f2a1554eab7c0714f6336ff46431b /install.rb | |
parent | f4a0af16eaa30571662017cab7e106a96b99988d (diff) | |
download | puppet-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-x | install.rb | 1 |
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 |