From 075cc7b286853ce786973966d5045994d00a3428 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 6 Apr 2026 00:39:36 -0600 Subject: [PATCH] fix(sql-migrate): add missing ! to shebang in generated scripts Generated shell scripts had `#/bin/sh` instead of `#!/bin/sh`, meaning the shebang was treated as a comment rather than an interpreter directive. --- cmd/sql-migrate/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sql-migrate/main.go b/cmd/sql-migrate/main.go index e84a4c7..ab3dcce 100644 --- a/cmd/sql-migrate/main.go +++ b/cmd/sql-migrate/main.go @@ -64,7 +64,7 @@ DROP TABLE IF EXISTS _migrations; LOG_MIGRATIONS_QUERY = `-- note: CLI arguments must be passed to the sql command to keep output clean SELECT name FROM _migrations ORDER BY name; ` - shHeader = `#/bin/sh + shHeader = `#!/bin/sh set -e set -u