Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ EOF
RUN_COMPLETIONS=true

parse_args() {
#BINDIR is ./bin unless set be ENV
# over-ridden by flag below

BINDIR=${BINDIR:-~/bin}
# BINDIR is ~/.local/bin unless set be overridden by the -b flag (trailing slash is removed)
BINDIR=${BINDIR%/}
BINDIR=${BINDIR:-~/.local/bin}
while getopts "b:ndh?x" arg; do
case "$arg" in
b) BINDIR="$OPTARG" ;;
Expand Down