summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xredhat/genrpm.sh4
-rw-r--r--redhat/tde-i18n/tde-i18n-3.5.13.1.spec (renamed from redhat/tde-i18n/i18n-3.5.13.1.spec)0
2 files changed, 3 insertions, 1 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 0ea182e45..3842b4c0b 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -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
diff --git a/redhat/tde-i18n/i18n-3.5.13.1.spec b/redhat/tde-i18n/tde-i18n-3.5.13.1.spec
index 55a9ffb58..55a9ffb58 100644
--- a/redhat/tde-i18n/i18n-3.5.13.1.spec
+++ b/redhat/tde-i18n/tde-i18n-3.5.13.1.spec