From ed645e3a2f44fd0df052d5381c52ec442f9573e9 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 15 Apr 2015 11:23:37 +0200 Subject: [PATCH] fix crossbuild for travis --- .travis.yml | 2 +- common/travis/build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a65791b7d3..f925d87fedb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/common/travis/build.sh b/common/travis/build.sh index 9136bcdc841..bd632295a27 100755 --- a/common/travis/build.sh +++ b/common/travis/build.sh @@ -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