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-show2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bst-cross-build-or-show b/scripts/bst-cross-build-or-show
index 3be2b48..3dfed9e 100755
--- a/scripts/bst-cross-build-or-show
+++ b/scripts/bst-cross-build-or-show
@@ -10,7 +10,7 @@
set -eu
bst_target_arch="$1"
bst_target="$2"
-if [ "$(bst --target-arch=$bst_target_arch show $bst_target --deps none --format '%{state}')" == 'cached' ]; then
+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
else
bst --colors --target-arch="$bst_target_arch" build $bst_target