[X2go-Commits] buildscripts.git - master (branch) updated: 88f055a30f600abfeff09e611ddbe863839b9085

X2go dev team git-admin at x2go.org
Wed Dec 21 01:56:10 CET 2011


The branch, master has been updated
       via  88f055a30f600abfeff09e611ddbe863839b9085 (commit)
      from  32a64f459e3baaf8b1decc00d44e8effd48d2d50 (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 88f055a30f600abfeff09e611ddbe863839b9085
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Dec 21 01:54:28 2011 +0100

    fix package upload

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

Summary of changes:
 bin/build-package |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/bin/build-package b/bin/build-package
index 7cd3a1a..ed3b1c3 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -127,6 +127,7 @@ clear_pkgdist() {
 				if [ "x$EXTRA_ARCHS_ONLY" = "x" ]; then
 					for l_ARCH in amd64 i386; do
 						mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
+						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/dupload.conf"
 						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PROJECT_*.changes"
 						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PROJECT_*.upload"
 						rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PROJECT_*.build"
@@ -137,6 +138,7 @@ clear_pkgdist() {
 				fi
 				for l_EXTRA_ARCH in $EXTRA_ARCHS; do 
 					mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH"
+					rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH/dupload.conf"
 					rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH/$PROJECT_*.changes"
 					rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH/$PROJECT_*.upload"
 					rm -f "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH/$PROJECT_*.build"
@@ -247,13 +249,15 @@ upload_packages() {
 			if [ "x$EXTRA_ARCHS_ONLY" = "x" ]; then	
 				for l_ARCH in amd64 i386; do 
 					cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
+					ln ~/.dupload.conf.$PREFIX ./dupload.conf
 					ls *.changes &>/dev/null && dupload -c ~/.dupload.conf.$PREFIX --to $PREFIX-$l_DIST-$l_CODENAME *.changes
 					cd -
 				done
 			fi
 			for l_EXTRA_ARCH in $EXTRA_ARCHS; do 
 				cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_EXTRA_ARCH"
-				ls *.changes &>/dev/null && dupload -c ~/.dupload.conf.$PREFIX --to $PREFIX-$l_DIST-$l_CODENAME *.changes
+				ln ~/.dupload.conf.$PREFIX ./dupload.conf
+				ls *.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME *.changes
 				cd -
 			done
 		done


hooks/post-receive
-- 
buildscripts.git (buildscripts upstream project)

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" (buildscripts upstream project).




More information about the x2go-commits mailing list