diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-10 14:27:33 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-29 18:40:31 +0000 |
commit | 028a6c319204755de025e2ac4523d383bfc75a48 (patch) | |
tree | fd535926314c3c2f3fa329db102a2ff6e25808e3 | |
parent | 500b45f52032796602eb397b31eab6eef1dc2b55 (diff) | |
download | definitions-028a6c319204755de025e2ac4523d383bfc75a48.tar.gz |
Update cross-build wrapper to use new `--option arch`
It was still using --target-arch which BuildStream no longer supports.
-rwxr-xr-x | scripts/bst-cross-build-or-show | 6 |
1 files 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 |