fix: ensure SCRIPT_DIR assignment is not affected by unset variables
This commit is contained in:
@@ -44,7 +44,9 @@ DOT="${DIM}·${RESET}"
|
||||
BULLET="${BLUE}●${RESET}"
|
||||
|
||||
# ── State ───────────────────────────────────────────────────────────────────
|
||||
set +u
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
||||
set -u
|
||||
ENV_FILE="${SCRIPT_DIR}/.env.local"
|
||||
|
||||
# Config values (defaults)
|
||||
|
||||
Reference in New Issue
Block a user