[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5-303-gfcfa26a

Elias Lutfallah elias.lutfallah at orbitz.com
Thu Mar 17 10:48:49 UTC 2011


The following commit has been merged in the upstream branch:
commit 1b1e803b4d2bf1e87b8796556439e3c0bada57ea
Author: Elias Lutfallah <elias.lutfallah at orbitz.com>
Date:   Sat Mar 5 15:23:06 2011 -0600

    (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.

diff --git a/install.rb b/install.rb
index d20b7cd..e8755e0 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

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list