Browse Source

fix shifting

pull/3385/head
neilpang 5 years ago
committed by neil
parent
commit
8fe3b6edc5
  1. 8
      acme.sh

8
acme.sh

@ -6574,19 +6574,21 @@ installOnline() {
_nocron="$1" _nocron="$1"
if [ "$_nocron" ]; then if [ "$_nocron" ]; then
_nocron="--no-cron" _nocron="--no-cron"
fi
shift shift
fi
_noprofile="$1" _noprofile="$1"
if [ "$_noprofile" ]; then if [ "$_noprofile" ]; then
_noprofile="--no-profile" _noprofile="--no-profile"
fi
shift shift
fi
_branch="$3" _branch="$3"
if [ ! "$_branch" ]; then if [ ! "$_branch" ]; then
_branch="master" _branch="master"
fi
else
shift shift
fi
target="$PROJECT/archive/$_branch.tar.gz" target="$PROJECT/archive/$_branch.tar.gz"
_info "Downloading $target" _info "Downloading $target"

Loading…
Cancel
Save