Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
Name the port to change on macOS bash (#669)
Nathan 🔶 Tarbert600ed9bda4b2
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3f168431..5a67787c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,13 @@ Newest first. `Unreleased` is what is on `main` and not yet tagged.## Unreleased+### `start.sh` names the port to change on macOS++When the API server's or the app's port was held by another process, `start.sh` was meant to say+which setting to change, such as `Re-run with SERVER_PORT=<free port>`. On macOS, whose bash is+3.2, the run ended on `bad substitution` before printing it, because the hint upper-cased the+name with a bash 4 expansion. It is upper-cased with `tr` now, so the hint prints on either bash.+### `start.sh` starts the Docker services on Compose v5On Docker Compose v5, `bash scripts/start.sh` stopped atdiff --git a/scripts/start.sh b/scripts/start.shindex 9ef5bef6..129c7bdc 100755--- a/scripts/start.sh+++ b/scripts/start.sh@@ -180,7 +180,9 @@ require_free_or_ours() {return 0fired " $name: port $port is held by something that is not OpenBot: $who"- red " Re-run with ${name^^}_PORT=<free port>, or stop that process yourself."+ # `tr`, not `${name^^}`, which is bash 4. macOS ships bash 3.2, where that expansion is a "bad+ # substitution" and the run ended on it instead of on this hint.+ red " Re-run with $(printf '%s' "$name" | tr '[:lower:]' '[:upper:]')_PORT=<free port>, or stop that process yourself."exit 1}