diff options
| -rwxr-xr-x | Swift/Packaging/Debian/package_all_platforms.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Swift/Packaging/Debian/package_all_platforms.sh b/Swift/Packaging/Debian/package_all_platforms.sh index 097fe38..a61201d 100755 --- a/Swift/Packaging/Debian/package_all_platforms.sh +++ b/Swift/Packaging/Debian/package_all_platforms.sh | |||
| @@ -24,9 +24,15 @@ export SWIFT_FORCE_LUCID="yep" | |||
| 24 | unset SWIFT_FORCE_LUCID | 24 | unset SWIFT_FORCE_LUCID |
| 25 | ./package.sh | 25 | ./package.sh |
| 26 | 26 | ||
| 27 | for distro in xenial yakkety jessie sid; do | 27 | if [ -z ${SWIFT_PACKAGE_PLATFORMS+x} ]; |
| 28 | then | ||
| 29 | platformsarray=( xenial yakkety jessie sid ) | ||
| 30 | else | ||
| 31 | platformsarray=( $SWIFT_PACKAGE_PLATFORMS ) | ||
| 32 | fi | ||
| 33 | |||
| 34 | for distro in "${platformsarray[@]}"; do | ||
| 28 | for arch in amd64; do | 35 | for arch in amd64; do |
| 29 | pbuilder-dist $distro $arch build *.dsc | 36 | pbuilder-dist $distro $arch build *.dsc |
| 30 | done | 37 | done |
| 31 | done | 38 | done |
| 32 | |||
Swift