summaryrefslogtreecommitdiff
path: root/scripts/bst-cross-build-or-show
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bst-cross-build-or-show')
-rwxr-xr-xscripts/bst-cross-build-or-show6
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