From e7dad1ee9b1cbee709ca9427b642573d78afc99d Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 9 Mar 2009 16:37:32 +0100 Subject: Set MODULEBUILDRC environment variable When building packages using Module::Build and a ~/.modulebuildrc containing install install_base=~ the build will end up installing files in /root. This patch makes debhelper export MODULEBUILDRC="/dev/null" whenever Module::Build is used to avoid using ~/.modulebuildrc. Closes: #517423 Signed-off-by: Ansgar Burchardt --- dh_auto_configure | 1 + 1 file changed, 1 insertion(+) (limited to 'dh_auto_configure') diff --git a/dh_auto_configure b/dh_auto_configure index 6b8adf52..41f6210f 100755 --- a/dh_auto_configure +++ b/dh_auto_configure @@ -92,6 +92,7 @@ elsif (-e "Makefile.PL") { } elsif (-e "Build.PL") { $ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this. + $ENV{MODULEBUILDRC} = "/dev/null"; doit("perl", "Build.PL", "installdirs=vendor", @{$dh{U_PARAMS}}); } -- cgit v1.2.3