[netcdf-cxx4] Fix test error conditional

Orion Poplawski orion at fedoraproject.org
Mon Feb 24 20:17:04 UTC 2014


commit 1b4f6bfd03b016083c534ad2632753fd30127856
Author: Orion Poplawski <orion at nwra.com>
Date:   Mon Feb 24 13:17:56 2014 -0700

    Fix test error conditional

 netcdf-cxx4.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/netcdf-cxx4.spec b/netcdf-cxx4.spec
index 947f05b..44943eb 100644
--- a/netcdf-cxx4.spec
+++ b/netcdf-cxx4.spec
@@ -187,11 +187,11 @@ done
 
 
 %check
-make -C build check || cat build/*/test-suite.log && exit 1
+make -C build check || ( cat build/*/test-suite.log && exit 1 )
 for mpi in %{mpi_list}
 do
   module load mpi/$mpi-%{_arch}
-  make -C $mpi check || cat ${mpi}/*/test-suite.log && exit 1
+  make -C $mpi check || ( cat ${mpi}/*/test-suite.log && exit 1 )
   module purge
 done
 


More information about the scm-commits mailing list