RPM Packaging: minor update

pull/3/head
François Andriot 11 years ago
parent a9c7fbd0a5
commit 6440e3475c

@ -198,6 +198,9 @@ rpmbuild -ba \
eval "$(grep ^RET= ${LOGFILE})"
set +x
# Removes temporary source directory
rm -rf "${SOURCEDIR}"
if [ "${RET}" -gt 0 ]; then
exit ${RET}
fi
@ -208,7 +211,6 @@ if grep -q "error: Failed build dependencies:" ${LOGFILE}; then
exit 2
fi
set -x
rm -rf "${SOURCEDIR}"
# Removes BUILDDIR if build succeeded

Loading…
Cancel
Save