summaryrefslogtreecommitdiffstats
path: root/redhat/tde-i18n/tde-i18n-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tde-i18n/tde-i18n-14.0.0.spec')
-rw-r--r--redhat/tde-i18n/tde-i18n-14.0.0.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/redhat/tde-i18n/tde-i18n-14.0.0.spec b/redhat/tde-i18n/tde-i18n-14.0.0.spec
index 0d70440da..531e88003 100644
--- a/redhat/tde-i18n/tde-i18n-14.0.0.spec
+++ b/redhat/tde-i18n/tde-i18n-14.0.0.spec
@@ -709,6 +709,7 @@ export TDEDIR=%{tde_prefix}
export kde_htmldir="%{tde_tdedocdir}/HTML"
+(
for l in %{TDE_LANGS}; do
for f in tde-i18n-${l}/; do
if [ -d "${f}" ]; then
@@ -727,8 +728,15 @@ for l in %{TDE_LANGS}; do
fi
done
done
+) 2>&1 | tee /tmp/rpmbuild.$$
+
+if grep -q Error /tmp/rpmbuild.$$; then
+ echo Error while building. See '/tmp/rpmbuild.$$'
+ exit 1
+fi
wait
+rm -f /tmp/rpmbuild.$$
%install
%__rm -rf %{?buildroot}