mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 20:58:00 +00:00
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.
This commit is contained in:
parent
4a9c331ef9
commit
075cc7b286
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user