summaryrefslogtreecommitdiff
path: root/tests/subagent-driven-dev
diff options
context:
space:
mode:
authorjesse <jesse@magic-kingdom>2026-03-15 18:38:00 +0000
committerjesse <jesse@magic-kingdom>2026-03-15 18:38:04 +0000
commitaddfe8511a0543d04b30ff50b7e5f6c88e998368 (patch)
treedea8d7e5c3ea950e514a9b310ff561ca620de238 /tests/subagent-driven-dev
parentc6a2b1b5763325b47c583a2d3d7f384dfab3ba0b (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'tests/subagent-driven-dev')
-rwxr-xr-xtests/subagent-driven-dev/go-fractals/scaffold.sh2
-rwxr-xr-xtests/subagent-driven-dev/run-test.sh2
-rwxr-xr-xtests/subagent-driven-dev/svelte-todo/scaffold.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/subagent-driven-dev/go-fractals/scaffold.sh b/tests/subagent-driven-dev/go-fractals/scaffold.sh
index d11ea74..646a615 100755
--- a/tests/subagent-driven-dev/go-fractals/scaffold.sh
+++ b/tests/subagent-driven-dev/go-fractals/scaffold.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Scaffold the Go Fractals test project
# Usage: ./scaffold.sh /path/to/target/directory
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 <test-name> [--plugin-dir <path>]
#
diff --git a/tests/subagent-driven-dev/svelte-todo/scaffold.sh b/tests/subagent-driven-dev/svelte-todo/scaffold.sh
index f58129d..f7bef04 100755
--- a/tests/subagent-driven-dev/svelte-todo/scaffold.sh
+++ b/tests/subagent-driven-dev/svelte-todo/scaffold.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Scaffold the Svelte Todo test project
# Usage: ./scaffold.sh /path/to/target/directory