config: Detect a pipe error on command failure.

This commit is contained in:
Chris Johns 2014-08-23 13:23:00 +00:00
parent cd93d89b08
commit 5d9b1537ac

View File

@ -9,4 +9,4 @@
%define __autoreconf_path_ver %(autoreconf --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
%define __automake_ver %(test -x %{__automake} && %{__automake} --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
%define __automake_bindir_ver %(test -x %{_bindir}/automake && %{_bindir}/automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
%define __automake_path_ver %(automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")
%define __automake_path_ver %(automake --version && automake --version | %{__awk} 'NR==1 {print $NF}' || echo "0")