[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: also clean up old SRPM's.
git-admin at x2go.org
git-admin at x2go.org
Thu Feb 5 01:06:53 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 5b9f538ffc1b338b452e9a46260db80346075622
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Feb 5 01:06:45 2015 +0100
bin/build-rpm-package: also clean up old SRPM's.
---
bin/build-rpm-package | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 3ae5b2c..235a741 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -145,7 +145,8 @@ clear_pkgdist() {
test -z $CODENAMES || echo $line | grep $CODENAMES || break
- for l_ARCH in x86_64 i386; do
+ # Yes, "SRPM" is technically not an architecture.
+ for l_ARCH in x86_64 i386 SRPM; do
if [ "x$SKIP_ARCH" != "x$l_ARCH" ]; then
mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/"*
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list