[adios] 181/207: Export PATH

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jun 12 06:04:55 UTC 2015


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

mckinstry pushed a commit to branch master
in repository adios.

commit 1a16377aaa81b50be8b41fc66929ec874ac13aed
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Jun 17 05:46:48 2014 +0100

    Export PATH
---
 debian/changelog | 6 ++++++
 debian/rules     | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 79445cd..5417d3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+adios (1.7.0-2) UNRELEASED; urgency=medium
+
+  * PATH not inherited correctly. export it. 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Tue, 17 Jun 2014 05:45:36 +0100
+
 adios (1.7.0-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index e94ff2e..21ed609 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,6 +59,7 @@ PY2:=python2.7
 PY3VERS:= $(shell py3versions -s)
 
 TOP:=$(shell pwd)
+export PATH=$(TOP):$(PATH)
 
 # magic debhelper rule
 %:
@@ -83,9 +84,8 @@ override_dh_auto_build:
 	mv debian/tmp/lib/*/*.a debian/tmp/lib
 	# Now build Python wrapper. Uses adios_config and the debian/tmp install.
 	for p in ${PY2} ${PY3VERS} ; do \
-		( cd wrappers/numpy && PATH=$(TOP):$(PATH) \
-			$$p ./setup.py     install --prefix=$(TOP)/debian/tmpp  ;\
-			PATH=$(TOP):$(PATH) \
+		( cd wrappers/numpy && \
+		    $$p ./setup.py     install --prefix=$(TOP)/debian/tmpp  ;\
 			$$p ./setup_mpi.py install --prefix=$(TOP)/debian/tmpp ) ; done
 	# Clean up.
 	rm -r debian/tmp/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/adios.git



More information about the debian-science-commits mailing list