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