Skip to content

Commit 0086ba8

Browse files
author
Juan RP
committed
configure: minor cosmetic tweak
1 parent bb28b3f commit 0086ba8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

configure

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ printf "INFO: Running '$RCV_CMD_LINE' (${CROSS_ARCH:-native}) ...\n"
100100

101101
[ -f $RCV_F ] && _append="-a"
102102
$RCV_CMD_LINE | tee ${_append} $RCV_F
103-
if [ 0 -ne ${PIPESTATUS[0]} ]; then
104-
printf "ERROR: xbps-checkvers exited with an error: %d\n" ${PIPESTATUS[0]}
103+
rval=${PIPESTATUS[0]}
104+
if [ $rval -ne 0 ]; then
105+
echo "ERROR: xbps-checkvers exited with an error: $rval"
105106
exit 1
106107
fi
107108
grep pkgname $RCV_F | awk '{ print $2 }' > pkgs.txt

0 commit comments

Comments
 (0)