fix start after upgrade

This commit is contained in:
shocknet-justin 2025-08-31 00:16:41 -04:00
parent 31e5775f5c
commit fb6faf07f0
2 changed files with 20 additions and 13 deletions

View file

@ -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