avalanche-cli
avalanche-cli copied to clipboard
fix: install script location default & parsing
Why this should be merged
Removes trailing slash from install path (prevents cases like install.sh -b /usr/local/bin/ producing ava-labs/avalanche-cli info installed /usr/local/bin//avalanche)
How this works
- Sets
BINDIRto itself but with trailing slash removed if it exists - Then sets
BINDIRto default if it's an empty string
How this was tested
- Ran install script
How is this documented
- Code comments
Requesting review from @felipemadero