[pkg-perl-tools] 01/03: examples/check-build: unset TMPDIR.

gregor herrmann gregoa at debian.org
Wed Sep 20 18:49:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit 9d83b6578763b64d2172562c9860c48f90ade110
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Sep 20 20:23:15 2017 +0200

    examples/check-build: unset TMPDIR.
    
    The directory from TMPDIR on the host is most probably not available in a
    chroot, which causes build failures (seen with debconf(1)).
---
 examples/check-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/check-build b/examples/check-build
index e0a833e..e98e70d 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -91,7 +91,7 @@ if [ "$REPRO" = "y" ]; then
 		REPROTEST_VIRT_SERVER_ARGS=default
 	fi
 	if [ -n "$REPROTEST_VIRT_SERVER" ]; then
-		reprotest --dont-vary build_path auto . -- $REPROTEST_VIRT_SERVER $REPROTEST_VIRT_SERVER_ARGS 2>&1 | \
+		env -u TMPDIR -- reprotest --dont-vary build_path auto . -- $REPROTEST_VIRT_SERVER $REPROTEST_VIRT_SERVER_ARGS 2>&1 | \
 			tee $REPROTESTLOG
 	else
 		echo "W: Could not find reprotest virtualization server."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list