fix shifting
This commit is contained in:
parent
7b3f735b34
commit
8fe3b6edc5
8
acme.sh
8
acme.sh
@ -6574,19 +6574,21 @@ installOnline() {
|
||||
_nocron="$1"
|
||||
if [ "$_nocron" ]; then
|
||||
_nocron="--no-cron"
|
||||
fi
|
||||
shift
|
||||
fi
|
||||
|
||||
_noprofile="$1"
|
||||
if [ "$_noprofile" ]; then
|
||||
_noprofile="--no-profile"
|
||||
fi
|
||||
shift
|
||||
fi
|
||||
|
||||
_branch="$3"
|
||||
if [ ! "$_branch" ]; then
|
||||
_branch="master"
|
||||
fi
|
||||
else
|
||||
shift
|
||||
fi
|
||||
|
||||
target="$PROJECT/archive/$_branch.tar.gz"
|
||||
_info "Downloading $target"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user