diff options
author | Mihai Moldovan <ionic@ionic.de> | 2015-04-03 03:07:09 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2015-04-03 03:07:09 +0200 |
commit | 761a20155b9cddbd87821e18444534772613e9cd (patch) | |
tree | 970c46547603c0a7ce40fc349c85194f640d527e /bin/build-rpm-package | |
parent | 4d5b678512f675f3bfb00e08c3378d4658cf71e9 (diff) | |
download | buildscripts-761a20155b9cddbd87821e18444534772613e9cd.tar.gz buildscripts-761a20155b9cddbd87821e18444534772613e9cd.tar.bz2 buildscripts-761a20155b9cddbd87821e18444534772613e9cd.zip |
bin/build-rpm-package: remove ${TEMP_DIR} cleanup now handled by the cleanup() function.
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-x | bin/build-rpm-package | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package index eccfd7e..fe83537 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -666,7 +666,6 @@ build_packages() { rm -Rf -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/rpmbuild/SRPMS/build.log" else cat "${PKGDIST}/${l_DIST}/${l_CODENAME}/rpmbuild/SRPMS/build.log" - rm -Rf -- "$TEMP_DIR" exit 1 fi fi @@ -716,7 +715,6 @@ build_packages() { done rpmsign-unattended -D "%_gpg_name debian@x2go.org" --addsign "${PKGDIST}/${l_DIST}/${l_CODENAME}/SRPM/"*.rpm else - rm -Rf -- "${TEMP_DIR}" exit 1 fi else @@ -750,7 +748,6 @@ build_packages() { cat "${PKGDIST}/${l_DIST}/${l_CODENAME}/x86_64/build.log" else cat "${PKGDIST}/${l_DIST}/${l_CODENAME}/x86_64/build.log" - rm -Rf -- "${TEMP_DIR}" exit 1 fi done @@ -796,7 +793,6 @@ build_packages() { rpmsign-unattended -D "%_gpg_name debian@x2go.org" --addsign "${PKGDIST}/${l_DIST}/${l_CODENAME}/SRPM/"*.rpm fi else - rm -Rf -- "${TEMP_DIR}" exit 1 fi else @@ -831,7 +827,6 @@ build_packages() { cat "${PKGDIST}/${l_DIST}/${l_CODENAME}/i386/build.log" else cat "${PKGDIST}/${l_DIST}/${l_CODENAME}/i386/build.log" - rm -Rf -- "${TEMP_DIR}" exit 1 fi done @@ -840,7 +835,6 @@ build_packages() { done } done - rm -Rf -- "${TEMP_DIR}" return 0 } |