Skip to content

armgit / muxin

Public Imported from GitHub
0

All your machines, one app. For you and your AI agents: agent sessions, desktops, files, logs and GitHub across your Macs, Linux and Windows machines, with an MCP server.

Runner scripts: brace variables before a "…"

Adib Hannae06fa24ff185
diff --git a/src/ops/scripts/control_docker.sh b/src/ops/scripts/control_docker.sh
index 5db8b4e..6158a50 100644
--- a/src/ops/scripts/control_docker.sh
+++ b/src/ops/scripts/control_docker.sh
@@ -21,7 +21,7 @@ case "$OR_ACTION" in
if [ "$(state)" = running ]; then
say "Already running."
else
- say "Starting $c…"
+ say "Starting ${c}…"
docker start "$c" >/dev/null || fail "docker start $c failed."
say "Started."
fi
@@ -36,7 +36,7 @@ case "$OR_ACTION" in
fi
;;
restart)
- say "Restarting $c…"
+ say "Restarting ${c}…"
docker restart -t 30 "$c" >/dev/null || fail "docker restart $c failed."
say "Restarted."
;;
@@ -51,7 +51,7 @@ case "$OR_ACTION" in
vol=$(docker inspect -f '{{range .Mounts}}{{if eq .Destination "/home/runner"}}{{.Name}}{{end}}{{end}}' "$c" 2>/dev/null)
fi
if [ "$(state)" = running ]; then
- say "Stopping $c…"
+ say "Stopping ${c}…"
docker stop -t 30 "$c" >/dev/null 2>&1
fi
if [ -n "$vol" ] && docker run --rm -v "$vol:/home/runner" --entrypoint test "$image" -f /home/runner/.runner 2>/dev/null; then
diff --git a/src/ops/scripts/install.sh b/src/ops/scripts/install.sh
index 99d0c4f..2c290e0 100644
--- a/src/ops/scripts/install.sh
+++ b/src/ops/scripts/install.sh
@@ -81,7 +81,7 @@ else
say "The cached $pkg doesn't match its SHA-256; downloading it again."
rm -f "$cache/$pkg" || fail "Couldn't delete $cache/$pkg"
fi
- say "Downloading actions-runner $OR_VERSION for $ros-$rarch…"
+ say "Downloading actions-runner $OR_VERSION for $ros-${rarch}…"
if command -v curl >/dev/null 2>&1; then
curl -fsSL --retry 3 -o "$cache/$pkg.part" "$url" || fail "Download failed: $url"
elif command -v wget >/dev/null 2>&1; then