summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-07 18:26:49 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-07 18:26:49 +0200
commit5a59f6fc3a0ab44fec635974127618cc4eeebf20 (patch)
treea07a44015e5713e01014d7e86848493a9f2c5f11 /redhat/genrpm.sh
parent270e590e7ecdaa02d18d563b625d74604c328c0f (diff)
downloadtde-packaging-5a59f6fc3a0ab44fec635974127618cc4eeebf20.tar.gz
tde-packaging-5a59f6fc3a0ab44fec635974127618cc4eeebf20.zip
RPM Packaging: add applications for R14
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 4b8c496c1..0ea182e45 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -210,4 +210,6 @@ fi
set -x
rm -rf "${SOURCEDIR}"
-#rm -rf "${BUILDDIR}/"*${COMP}-${VERSION}*
+
+# Removes BUILDDIR if build succeeded
+rm -rf "${BUILDDIR}/"*${COMP##*/}-${VERSION}*