diff options
author | Ansgar Burchardt <ansgar@43-1.org> | 2009-03-09 16:37:32 +0100 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-09 13:23:12 -0400 |
commit | e7dad1ee9b1cbee709ca9427b642573d78afc99d (patch) | |
tree | 0bfa07c186a0488484fed89f644c9c7f6326dd83 /dh_auto_build | |
parent | 15ca2f911b6483d40fce804a78ff4546b471f051 (diff) |
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 <ansgar@43-1.org>
Diffstat (limited to 'dh_auto_build')
-rwxr-xr-x | dh_auto_build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_auto_build b/dh_auto_build index a3c95211..75ce51cf 100755 --- a/dh_auto_build +++ b/dh_auto_build @@ -46,6 +46,7 @@ elsif (-e "setup.py") { doit("python", "setup.py", "build", @{$dh{U_PARAMS}}); } elsif (-e "Build.PL" && -e "Build") { + $ENV{MODULEBUILDRC} = "/dev/null"; doit("perl", "Build", @{$dh{U_PARAMS}}); } |