[X2Go-Commits] [buildscripts] 01/01: RPM builder: force build.log removal before a new build is started

git-admin at x2go.org git-admin at x2go.org
Tue Feb 25 12:16:43 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 0fa40bacf22233c05aa5e8e92dfe6fbb12b835e9
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Feb 25 12:16:25 2014 +0100

    RPM builder: force build.log removal before a new build is started
---
 bin/build-rpm-package |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index d6bb7ca..cf79ebb 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -221,6 +221,7 @@ build_packages() {
 				#fi
 
 				if [ "x$SKIP_ARCH" != "xx86_64" ] || [ "$IS_NOARCH" = "yes" ]; then
+					rm -f $PKGDIST/$l_DIST/$l_CODENAME/x86_64/build.log
 					while [ -d ~mock/${l_DIST}-${l_CODENAME}-x86_64 ]; do
 						echo "Waiting for some other build to finish..."
 						sleep 30
@@ -235,6 +236,7 @@ build_packages() {
 					fi
 				fi
 				if [ "x$SKIP_ARCH" != "xi386" ] && [ "$IS_NOARCH" != "yes" ]; then
+					rm -f $PKGDIST/$l_DIST/$l_CODENAME/i386/build.log
 					while [ -d ~mock/${l_DIST}-${l_CODENAME}-i386 ]; do
 						echo "Waiting for some other build to finish..."
 						sleep 30

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git



More information about the x2go-commits mailing list