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

X2go dev team git-admin at x2go.org
Wed Dec 21 02:06:55 CET 2011

The branch, master has been updated
       via  c6d3589c78b29966a6e029261c96578bc7d1921d (commit)
      from  cdb45b8be9a37ad47f47e409a48f8f8b4cfd8bec (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 c6d3589c78b29966a6e029261c96578bc7d1921d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Dec 21 02:06:52 2011 +0100

    fix for dupload call (2)


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

The diff of changes is:
diff --git a/bin/build-package b/bin/build-package
index bbe0ff8..5f68dab 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -249,14 +249,14 @@ 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
+					test -f ./dupload.conf || ln -s ~/.dupload.conf.$PREFIX ./dupload.conf
 					ls *.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME *.changes
 					cd -
 			for l_EXTRA_ARCH in $EXTRA_ARCHS; do 
-				ln ~/.dupload.conf.$PREFIX ./dupload.conf
+				test -f ./dupload.conf || ln -s ~/.dupload.conf.$PREFIX ./dupload.conf
 				ls *.changes &>/dev/null && dupload -c --to $PREFIX-$l_DIST-$l_CODENAME *.changes
 				cd -

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