From cd2d6db3980d09f5ffcfd6924486a6a338e2db87 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 26 Aug 2026 18:30:08 +0100 Subject: [PATCH] fix(scripts): put the shebang on line 1 of nqc/nqc-launcher.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shebang was not the first line, so the kernel never honoured it — the script ran under whatever shell invoked it rather than the one it declares. shellcheck reports this as SC1128. Found by an estate-wide sweep of 5,111 tracked scripts across 375 repos: 20 files carry this defect, 19 of them a generated *-launcher.sh. ⚠ Source not identified. The generator, standards/docs/UX-standards/comprehensive-launcher-template.sh, is CLEAN — its own line 1 is the shebang and it reports 0 shellcheck errors. The stray line is therefore introduced when the launcher is copied into each repo, by something not yet found, so this may recur until that is tracked down. Other lines are preserved in order; only the shebang moves. --- nqc/nqc-launcher.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/nqc/nqc-launcher.sh b/nqc/nqc-launcher.sh index d99bda45..1b93db15 100755 --- a/nqc/nqc-launcher.sh +++ b/nqc/nqc-launcher.sh @@ -1,4 +1,3 @@ - #!/usr/bin/env bash # SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath)