From ebd751a0a30522160af8d4e3e44cf88382c1567c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 1 Feb 2014 14:56:14 +0100 Subject: RPM Packaging: update build scripts --- redhat/genrpm.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'redhat/genrpm.sh') diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh index d8d7bd3a3..18857cf1a 100755 --- a/redhat/genrpm.sh +++ b/redhat/genrpm.sh @@ -30,7 +30,7 @@ else #eval TARBALLS_DIR=~/tde/tde-tarballs/14.0.0 fi -clear +#clear cat <&1 | tee ${LOGFILE} eval "$(grep ^RET= ${LOGFILE})" -set +x # Removes temporary source directory rm -rf "${SOURCEDIR}" @@ -199,6 +196,7 @@ rm -rf "${SOURCEDIR}" if [ "${RET}" -gt 0 ]; then exit ${RET} fi +set +x if grep -q "error: Failed build dependencies:" ${LOGFILE}; then # DEPS=$( sed -n -e "/.* is needed by .*/ s/^[ \t]*\([a-zA-Z2-9_-]*\) .*/\1/p" ${LOGFILE} ) -- cgit v1.2.1