Răsfoiți Sursa

Update changelog with POSIX hook fix (#553)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jesse 6 luni în urmă
părinte
comite
c5e9538311
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      CHANGELOG.md

+ 1 - 0
CHANGELOG.md

@@ -6,6 +6,7 @@
 
 - **Brainstorm server on Windows**: Auto-detect Windows/Git Bash (`OSTYPE=msys*`, `MSYSTEM`) and switch to foreground mode, fixing silent server failure caused by `nohup`/`disown` process reaping. Applies to all Windows shells (CMD, PowerShell, Git Bash) since they all route through Git Bash. (fixes #737, based on #740)
 - **Portable shebangs**: Replace `#!/bin/bash` with `#!/usr/bin/env bash` in all 13 shell scripts. Fixes execution on NixOS, FreeBSD, and macOS with Homebrew bash where `/bin/bash` is outdated or missing. (closes #700)
+- **POSIX-safe hook script**: Replace `${BASH_SOURCE[0]:-$0}` with `$0` in `hooks/session-start` and polyglot-hooks docs. Fixes 'Bad substitution' error on Ubuntu/Debian where `/bin/sh` is dash. (closes #553)
 
 ### Known Issues