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:
Mario Zechner 2026-01-22 21:44:39 +01:00
parent 9b84857b83
commit 7af1919d31
5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
CONTAINER_NAME="mom-sandbox" CONTAINER_NAME="mom-sandbox"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Mom Docker Sandbox Management Script # Mom Docker Sandbox Management Script
# Usage: # Usage:

View file

@ -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"