Start through a command link #48

Open
opened 2026-10-07 06:36:48 +02:00 by Tirsvad · 0 comments
Owner

Resolve BASH_SOURCE through links (without requiring readlink -f, which macOS lacks) so SCRIPT_DIR and PROJECT_ROOT point into the checkout, keep the current folder as the base of the default directory, and choose config.env and .env (named, else ./, else the checkout's), naming them and asking a yes for a file from the working folder. Errors name the places looked in. Steps 3 to 6 and extensions 4a to 4c of [UC-002].

Phase: MIL-007
Reference: [UC-002]

Resolve `BASH_SOURCE` through links (without requiring `readlink -f`, which macOS lacks) so `SCRIPT_DIR` and `PROJECT_ROOT` point into the checkout, keep the current folder as the base of the default directory, and choose `config.env` and `.env` (named, else `./`, else the checkout's), naming them and asking a yes for a file from the working folder. Errors name the places looked in. Steps 3 to 6 and extensions 4a to 4c of [UC-002]. Phase: MIL-007 Reference: [UC-002]
Tirsvad added this to the MIL-007 Framework Checklists and Usage milestone 2026-10-07 06:36:48 +02:00
Sign in to join this conversation.