aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildos4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildos b/buildos
index e16d853..fb5f85c 100755
--- a/buildos
+++ b/buildos
@@ -681,7 +681,7 @@ function bbot_check () # <toolchain-name>
# See if this is the first time or if we need to upgrade.
#
- if [ "$(cut -d ' ' -f 1 <<<"$b_stat")" = "configured" ]; then
+ if [ "$(cut -d ' ' -f 2 <<<"$b_stat")" = "configured" ]; then
# We assume that if anything has changed in the status line, then we
# have a new version.
@@ -732,7 +732,7 @@ function bbot_start () # <toolchain-name> <toolchain-index>
local i n b_word
while true; do # The "breakout loop".
- b_word="$(bpkg status bbot | cut -d ' ' -f 1)"
+ b_word="$(bpkg status bbot | cut -d ' ' -f 2)"
# If upgrading, stop the service and uninstall.
#