From 028a6c319204755de025e2ac4523d383bfc75a48 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 10 Nov 2017 14:27:33 +0000 Subject: Update cross-build wrapper to use new `--option arch` It was still using --target-arch which BuildStream no longer supports. --- scripts/bst-cross-build-or-show | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/bst-cross-build-or-show b/scripts/bst-cross-build-or-show index 3dfed9e5..609430ee 100755 --- a/scripts/bst-cross-build-or-show +++ b/scripts/bst-cross-build-or-show @@ -10,8 +10,8 @@ set -eu bst_target_arch="$1" bst_target="$2" -if [ "$(bst --target-arch=$bst_target_arch show $bst_target --deps none --format '%{state}')" == 'downloadable' ]; then - bst --colors --target-arch="$bst_target_arch" show $bst_target +if [ "$(bst --option arch $bst_target_arch show $bst_target --deps none --format '%{state}')" == 'downloadable' ]; then + bst --colors --option arch "$bst_target_arch" show $bst_target else - bst --colors --target-arch="$bst_target_arch" build $bst_target + bst --colors --option arch "$bst_target_arch" build $bst_target fi -- cgit v1.2.1