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

X2Go dev team git-admin at x2go.org
Sat May 25 13:19:31 CEST 2013


The branch, master has been updated
       via  e58dc2cc9d1739c8ab3bb3e2b90569a3d6789f5d (commit)
      from  61d1d084e062f8c09350ec8ed1263a48d3b46368 (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 e58dc2cc9d1739c8ab3bb3e2b90569a3d6789f5d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat May 25 13:19:19 2013 +0200

    allow all-packages-builds for one distro version only

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

Summary of changes:
 bin/build-all-packages |    8 ++++++++
 1 file changed, 8 insertions(+)

The diff of changes is:
diff --git a/bin/build-all-packages b/bin/build-all-packages
index 4ba2bb2..7528501 100755
--- a/bin/build-all-packages
+++ b/bin/build-all-packages
@@ -17,6 +17,8 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
+CODENAME=$1
+
 COMPONENT_MAIN="main"
 COMPONENT_NIGHTLY="nightly"
 
@@ -35,6 +37,9 @@ COMPONENT=${1:-""}
 # build the newest code... (nightly-builds)
 [ "x$COMPONENT" = "x$COMPONENT_NIGHTLY" ] || [ -z $COMPONENT ] && {
     echo -e $LIB_PACKAGES_NIGHTLY $APP_PACKAGES_NIGHTLY | while read pkg comp checkout; do
+	if [ -n $CODENAME ]; then 
+		comp="$comp/$CODENAME"
+	fi
 	if [ "x$(basename $0)" = "x$PREFIX-build-all-packages" ]; then
 		$PREFIX-build-package $pkg $comp $checkout
 	elif [ "x$(basename $0)" = "x$PREFIX-upload-all-packages" ]; then
@@ -48,6 +53,9 @@ COMPONENT=${1:-""}
 # build all packages tagged as build-main
 [ "x$COMPONENT" = "x$COMPONENT_MAIN" ] || [ -z $COMPONENT ] && {
     echo -e $LIB_PACKAGES_MAIN $APP_PACKAGES_MAIN | while read pkg comp checkout; do
+	if [ -n $CODENAME ]; then
+		comp="$comp/$CODENAME"
+	fi
 	if [ "x$(basename $0)" = "x$PREFIX-build-all-packages" ]; then
 		$PREFIX-build-package $pkg $comp $checkout
 	elif [ "x$(basename $0)" = "x$PREFIX-upload-all-packages" ]; then


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