From addfe8511a0543d04b30ff50b7e5f6c88e998368 Mon Sep 17 00:00:00 2001 From: jesse Date: Sun, 15 Mar 2026 18:38:00 +0000 Subject: fix: use portable shebang #!/usr/bin/env bash in all shell scripts Replace #!/bin/bash with #!/usr/bin/env bash in 13 scripts. The hardcoded path fails on NixOS, FreeBSD, and macOS with Homebrew bash. #!/usr/bin/env bash is the portable POSIX-friendly alternative. Tested on Linux and Windows (Git Bash + CMD). macOS is the primary beneficiary since Homebrew installs bash to /opt/homebrew/bin/bash. Based on #700, closes #700. Co-Authored-By: Claude Opus 4.6 --- tests/subagent-driven-dev/run-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/subagent-driven-dev/run-test.sh') diff --git a/tests/subagent-driven-dev/run-test.sh b/tests/subagent-driven-dev/run-test.sh index 02f4aca..807cb2d 100755 --- a/tests/subagent-driven-dev/run-test.sh +++ b/tests/subagent-driven-dev/run-test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Run a subagent-driven-development test # Usage: ./run-test.sh [--plugin-dir ] # -- cgit