mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 05:02:07 +00:00
fix: use portable shebang in shell scripts
Change #!/bin/bash to #!/usr/bin/env bash for better portability on systems like NixOS where /bin/bash doesn't exist. Fixes #910
This commit is contained in:
parent
9b84857b83
commit
7af1919d31
5 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Build DOOM for pi-doom using doomgeneric and Emscripten
|
# Build DOOM for pi-doom using doomgeneric and Emscripten
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Migrate sessions from ~/.pi/agent/*.jsonl to proper session directories.
|
# Migrate sessions from ~/.pi/agent/*.jsonl to proper session directories.
|
||||||
# This fixes sessions created by the bug in v0.30.0 where sessions were
|
# This fixes sessions created by the bug in v0.30.0 where sessions were
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CONTAINER_NAME="mom-sandbox"
|
CONTAINER_NAME="mom-sandbox"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Mom Docker Sandbox Management Script
|
# Mom Docker Sandbox Management Script
|
||||||
# Usage:
|
# Usage:
|
||||||
|
|
|
||||||
2
test.sh
2
test.sh
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
AUTH_FILE="$HOME/.pi/agent/auth.json"
|
AUTH_FILE="$HOME/.pi/agent/auth.json"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue