fix start after upgrade
This commit is contained in:
parent
31e5775f5c
commit
fb6faf07f0
2 changed files with 20 additions and 13 deletions
|
|
@ -47,8 +47,17 @@ log "Script version $SCRIPT_VERSION"
|
|||
# Parse args for branch override
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
--branch) BRANCH="$2"; shift 2 ;;
|
||||
*) shift ;;
|
||||
--branch=*)
|
||||
BRANCH="${1#*=}"
|
||||
shift
|
||||
;;
|
||||
--branch)
|
||||
BRANCH="$2"
|
||||
shift 2
|
||||
;;
|
||||
*)
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue