[X2Go-Commits] buildscripts.git - master (branch) updated: 4eea32cf9eab1c1b48eea402a349c275a8782e78

X2Go dev team git-admin at x2go.org
Mon Dec 16 09:23:57 CET 2013


The branch, master has been updated
       via  4eea32cf9eab1c1b48eea402a349c275a8782e78 (commit)
      from  1976d1ca7da1443f325a085a91ef0c25bf8ef030 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4eea32cf9eab1c1b48eea402a349c275a8782e78
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Dec 16 09:23:53 2013 +0100

    fix clean up of old RPM builds

-----------------------------------------------------------------------

Summary of changes:
 bin/build-rpm-package |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

The diff of changes is:
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 410ad4c..6b2dcc6 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -93,9 +93,6 @@ set_vars() {
 }
 
 prepare_workspace() {
-	# create rpmbuild subdirectories
-	mkdir -p $PKGDIST/rpmbuild/SOURCES
-
 	# make sure our local working copy is up to date...
 	if [ -d "$PROJECT_DIR/.git" ]; then 
 		cd "$PROJECT_DIR" && git reset --hard
@@ -144,8 +141,7 @@ clear_pkgdist() {
 						mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
 						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/"*
 						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-"*.src.rpm
-						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/"*.log
-						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PROJECT-"*.rpm
+						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/"*.rpm
 					fi
 				done
 			done


hooks/post-receive
-- 
buildscripts.git (X2Go packaging scripts)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (X2Go packaging scripts).




More information about the x2go-commits mailing list