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