From 5d9b1537ac7380009c593592d65516cae3448a8a Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 23 Aug 2014 13:23:00 +0000 Subject: [PATCH] config: Detect a pipe error on command failure. --- source-builder/config/versions.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/config/versions.cfg b/source-builder/config/versions.cfg index c9518fe..6f01bf4 100644 --- a/source-builder/config/versions.cfg +++ b/source-builder/config/versions.cfg @@ -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")