[mpi-defaults] 02/02: Make sure there are no trailing whitespaces in the produced debian_defaults

Mattia Rizzolo mattia at debian.org
Mon Feb 29 17:09:35 UTC 2016


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

mattia pushed a commit to branch master
in repository mpi-defaults.

commit 7d10aa787305ea2920e358d623f2eaaf29207c64
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Feb 29 17:09:26 2016 +0000

    Make sure there are no trailing whitespaces in the produced debian_defaults
---
 debian/rules | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index e568ce1..a0733b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -90,13 +90,13 @@ override_dh_auto_build:
 	echo "# Default MPI implementation on this architecture:" > $d
 	echo "ARCH_DEFAULT_MPI_IMPL=$(MPI)" >> $d
 	echo "# Architectures where OpenMPI is available:" >> $d
-	echo "OPENMPI_AVAILABLE_ARCHITECTURES=$(OPENMPI_AVAILABLE_ARCHITECTURES)" >> $d
+	echo "OPENMPI_AVAILABLE_ARCHITECTURES=$(strip $(OPENMPI_AVAILABLE_ARCHITECTURES))" >> $d
 	echo "# Architectures where MPICH is available:" >> $d
-	echo "MPICH_AVAILABLE_ARCHITECTURES=$(MPICH_AVAILABLE_ARCHITECTURES)" >> $d
+	echo "MPICH_AVAILABLE_ARCHITECTURES=$(strip $(MPICH_AVAILABLE_ARCHITECTURES))" >> $d
 	echo "# Architectures defaulting to OpenMPI:" >> $d
-	echo OPENMPI_ARCHITECTURES=$(OPENMPI_ARCHITECTURES) >> $d
+	echo "OPENMPI_ARCHITECTURES=$(strip $(OPENMPI_ARCHITECTURES))" >> $d
 	echo "# Architectures defaulting to MPICH:" >> $d
-	echo MPICH_ARCHITECTURES=$(MPICH_ARCHITECTURES) >> $d
+	echo "MPICH_ARCHITECTURES=$(strip $(MPICH_ARCHITECTURES))" >> $d
 
 override_dh_gencontrol:
 	rm -f debian/*.substvars

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



More information about the debian-science-commits mailing list