[MINOR] install.sh PATH configuration not idempotent #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The PATH check in
install.shusesgrep -q "hero/bin". This can:~/.profileeven when the user uses bash/zsh, potentially conflicting with existing configImpact
Duplicate PATH entries, shell configuration pollution.
Files
scripts/install.sh--configure_pathfunctionSuggested Fix
$PATHat runtime instead of modifying shellrcpathmanor similar for proper PATH managementgrep -q "hero/bin" catches substrings; may append duplicate PATH lines; creates ~/.profile even for bash/zsh users.