fix crossbuild for travis

This commit is contained in:
Enno Boland 2015-04-15 11:23:37 +02:00
parent cf6cd5fd4e
commit ed645e3a2f
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ before_script:
- common/travis/bootstrap.sh $BOOTSTRAP
script:
- common/travis/build.sh $ARCH
- common/travis/build.sh $BOOTSTRAP $ARCH
after_script:
- common/travis/show_files.sh

View file

@ -2,8 +2,8 @@
#
# build.sh
if [ "$1" != x86_64 ]; then
arch="-a $1"
if [ "$1" != "$2" ]; then
arch="-a $2"
fi
for pkg in $(cat /tmp/templates); do