diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/x2go-buildallpackages | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/bin/x2go-buildallpackages b/bin/x2go-buildallpackages index 72cb635..0736d84 100755 --- a/bin/x2go-buildallpackages +++ b/bin/x2go-buildallpackages @@ -52,13 +52,18 @@ pyhoca-gui main build-main x2gothinclient main heuler tmpfs " +COMPONENT=${1:-""} + # build the newest code... (nightly-builds) -for pkg comp checkout in $LIB_PACKAGES_HEULER + $APP_PACKAGES_HEULER; do - x2go-buildpackage $pkg $comp $checkout -done +[ "x$COMPONENT" = "xheuler" ] || [ -z $COMPONENT ] && { + for pkg comp checkout in $LIB_PACKAGES_HEULER + $APP_PACKAGES_HEULER; do + x2go-buildpackage $pkg $comp $checkout + done +} # build all packages tagged as ,,build-main'Ä -for pkg comp checkout in $LIB_PACKAGES_MAIN + $APP_PACKAGES_MAIN; do - x2go-buildpackage $pkg $comp $checkout -done - +[ "x$COMPONENT" = "xmain" ] || [ -z $COMPONENT ] && { + for pkg comp checkout in $LIB_PACKAGES_MAIN + $APP_PACKAGES_MAIN; do + x2go-buildpackage $pkg $comp $checkout + done +} |