diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/x2go-buildpackage | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/bin/x2go-buildpackage b/bin/x2go-buildpackage index 42ab3a9..2fc12f6 100755 --- a/bin/x2go-buildpackage +++ b/bin/x2go-buildpackage @@ -54,13 +54,15 @@ cat BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do CODENAMES=$(echo $line | cut -d":" -f2- | tr [A-Z] [a#-z]) echo "$DIST_SUPPORTED" | grep $l_DIST >/dev/null && { for l_CODENAME in $CODENAMES; do - mkdir -p $PKGDIST/$l_DIST/$l_CODENAME - rm -f $PKGDIST/$l_DIST/$l_CODENAME/$PACKAGE_*.changes - rm -f $PKGDIST/$l_DIST/$l_CODENAME/$PACKAGE_*.upload - rm -f $PKGDIST/$l_DIST/$l_CODENAME/$PACKAGE_*.build - rm -f $PKGDIST/$l_DIST/$l_CODENAME/$PACKAGE_*.dsc - rm -f $PKGDIST/$l_DIST/$l_CODENAME/$PACKAGE_*.tar.gz - rm -f $PKGDIST/$l_DIST/$l_CODENAME/*.deb + for l_ARCH in amd64 i386; do + mkdir -p $PKGDIST/$l_DIST/$l_CODENAME + rm -f $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PACKAGE_*.changes + rm -f $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PACKAGE_*.upload + rm -f $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PACKAGE_*.build + rm -f $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PACKAGE_*.dsc + rm -f $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/$PACKAGE_*.tar.gz + rm -f $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/*.deb + done done } done @@ -122,9 +124,11 @@ cat $PACKAGE_DIR/BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do l_DIST=$(echo $line | cut -d":" -f1 | tr [A-Z] [a-z]) CODENAMES=$(echo $line | cut -d":" -f2- | tr [A-Z] [a-z]) for l_CODENAME in $CODENAMES; do - cd $PKGDIST/$l_DIST/$l_CODENAME - dupload --to x2go-$l_DIST-$l_CODENAME $PACKAGE_*.changes - cd - + for l_ARCH in amd64 i386; do + cd $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH + dupload --to x2go-$l_DIST-$l_CODENAME $PACKAGE_*.changes + cd - + done done done cd - |