[Reproducible-commits] [dpkg] 12/32: build: Use absolute buildir pathnames in PATH variable

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Nov 6 14:02:17 UTC 2015


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

lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit 17aeccf7d53858900a419b924b018d0992af8fe9
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Oct 17 16:50:29 2015 +0200

    build: Use absolute buildir pathnames in PATH variable
    
    This makes sure that even if any subprocess changes directory, the PATH
    environment variable will keep being correct.
---
 check.am         | 2 +-
 debian/changelog | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/check.am b/check.am
index 7d0d719..73cb8f0 100644
--- a/check.am
+++ b/check.am
@@ -25,7 +25,7 @@ check-clean:
 
 check-local: $(test_data) $(test_programs) $(test_scripts)
 	[ -z "$(test_tmpdir)" ] || $(MKDIR_P) $(test_tmpdir)
-	PATH="$(top_builddir)/src:$(top_builddir)/scripts:$(top_builddir)/utils:$(PATH)" \
+	PATH="$(abs_top_builddir)/src:$(abs_top_builddir)/scripts:$(abs_top_builddir)/utils:$(PATH)" \
 	  LC_ALL=C \
 	  $(TEST_ENV_VARS) \
 	  srcdir=$(srcdir) builddir=$(builddir) \
diff --git a/debian/changelog b/debian/changelog
index 52ec913..6c27993 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ dpkg (1.18.4) UNRELEASED; urgency=low
     - Set PERL5LIB globally for the test suite to the local modules directory,
       to avoid using the system modules. Regression introduced in dpkg 1.17.8.
       Reported by Jérémy Bobbio <lunar at debian.org>. Closes: #801329
+    - Use absolute buildir pathnames in PATH variable for the test suite.
   * Documentation:
     - Move description for “target architecture” from the dpkg-architecture(1)
       ‘-A’ option to the TERMS section. Closes: #799046

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list