summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/bst-build-or-show2
-rwxr-xr-xscripts/bst-cross-build-or-show2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bst-build-or-show b/scripts/bst-build-or-show
index 7a8a8ecc..eac56a9f 100755
--- a/scripts/bst-build-or-show
+++ b/scripts/bst-build-or-show
@@ -9,7 +9,7 @@
set -eu
bst_target="$1"
-if [ "$(bst show $bst_target --deps none --format '%{state}')" == 'cached' ]; then
+if [ "$(bst show $bst_target --deps none --format '%{state}')" == 'downloadable' ]; then
bst --colors show $bst_target
else
bst --colors build $bst_target
diff --git a/scripts/bst-cross-build-or-show b/scripts/bst-cross-build-or-show
index 3be2b482..3dfed9e5 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